hunk.code_window:           <When truthy={view === 'mobile'}>
               <Grid>
                 <Grid.Col span={12}>
                   <PreviewMobile subject={subject} content={content} integration={integration} />
                 </Grid.Col>
               </Grid>
             </When>
           </Grid.Col>
           <Grid.Col span={3} p={0}>
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:                 <PreviewMobile subject={parsedSubject} content={content} integration={integration} />
  
hunk.file_path: apps/web/src/pages/templates/editor/Preview.tsx
hunk.type: replace
file: import { Body, Controller, Post } from '@nestjs/common';
  import { PreviewEmail } from './usecases/parse-preview/preview-email.usecase';
  import { PreviewEmailCommand } from './usecases/parse-preview/preview-email.command';
  import { IEmailBlock, IJwtPayload, MessageTemplateContentType } from '@novu/shared';
  import { UserSession } from '../shared/framework/user.decorator';
  import { ApiExcludeController } from '@nestjs/swagger';
  
  @Controller('/content-templates')
  @ApiExcludeController()
  export class ContentTemplatesController {
    constructor(private previewEmailUsecase: PreviewEmail) {}
  
    @Post('/preview/email')
    public previewEmail(
      @UserSession() user: IJwtPayload,
      @Body('content') content: string | IEmailBlock[],
      @Body('contentType') contentType: MessageTemplateContentType,
      @Body('payload') payload: any
    ) {
      return this.previewEmailUsecase.execute(
        PreviewEmailCommand.create({
          userId: user._id,
          organizationId: user.organizationId,
          environmentId: user.environmentId,
          content,
          contentType,
          payload,
        })
      );
    }
  }
  