hunk.code_window:   if (!provider) return null;
     return (
       <Group spacing={5}>
         <Group spacing={12} w="100%" h={40}>
           <ProviderImage providerId={provider.providerId} />
           <Controller
             control={control}
             name="name"
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:       <Group spacing={12} w="100%" h={28} noWrap>
  
hunk.file_path: apps/web/src/pages/integrations/components/UpdateIntegrationSidebarHeader.tsx
hunk.type: replace
file: import { LayoutRepository, ChangeRepository } from '@novu/dal';
  import { ChangeEntityTypeEnum } from '@novu/shared';
  import { Injectable } from '@nestjs/common';
  
  import { CreateLayoutChangeCommand } from './create-layout-change.command';
  
  import { FindDeletedLayoutCommand, FindDeletedLayoutUseCase } from '../find-deleted-layout';
  
  import { CreateChange, CreateChangeCommand } from '../../../change/usecases';
  
  @Injectable()
  export class CreateLayoutChangeUseCase {
    constructor(
      private createChange: CreateChange,
      private findDeletedLayout: FindDeletedLayoutUseCase,
      private layoutRepository: LayoutRepository,
      private changeRepository: ChangeRepository
    ) {}
  
    async execute(command: CreateLayoutChangeCommand, isDeleteChange = false): Promise<void> {
      const item = isDeleteChange
        ? await this.findDeletedLayout.execute(FindDeletedLayoutCommand.create(command))
        : await this.layoutRepository.findOne({
            _id: command.layoutId,
            _environmentId: command.environmentId,
            _organizationId: command.organizationId,
          });
  
      if (item) {
        const parentChangeId: string = await this.changeRepository.getChangeId(
          command.environmentId,
          ChangeEntityTypeEnum.LAYOUT,
          command.layoutId
        );
  
        await this.createChange.execute(
          CreateChangeCommand.create({
            organizationId: command.organizationId,
            environmentId: command.environmentId,
            userId: command.userId,
            type: ChangeEntityTypeEnum.LAYOUT,
            item,
            changeId: parentChangeId,
          })
        );
      }
    }
  }
  