hunk.code_window:   }
     async registerTemplates(): Promise<any> {
       const templatePromises = [];
       for (let i = 0; i < this.templates.length; i += 1) {
         const waiting = await this.notifire.registerTemplate(this.templates[i]);
         templatePromises.push(waiting);
       }
  
hunk.labels: keep keep replace replace replace replace replace replace keep
hunk.after_edit:   async registerTemplates(): Promise<void> {
       for (const template of this.templates) {
         await this.notifire.registerTemplate(template);
  
hunk.file_path: packages/nest/src/services/notifire.service.ts
hunk.type: replace
file: import styled from 'styled-components';
  import { Spin } from 'antd';
  import { Header } from './Header';
  import { Footer } from './Footer';
  import { useInitialization } from '../../hooks/use-initialization.hook';
  
  export function Layout({ children }: { children: JSX.Element }) {
    const { initialized } = useInitialization();
  
    return (
      <LayoutWrapper>
        <Header />
        <ContentWrapper>
          {initialized ? (
            children
          ) : (
            <div
              style={{
                textAlign: 'center',
                minHeight: 300,
                display: 'flex',
                alignItems: 'center',
                justifyContent: 'center',
              }}>
              <Spin />
            </div>
          )}
        </ContentWrapper>
        <Footer />
      </LayoutWrapper>
    );
  }
  
  const ContentWrapper = styled.div`
    overflow: auto;
    min-height: 400px;
  `;
  
  const LayoutWrapper = styled.div`
    border-radius: 7px;
    background: white;
    height: auto;
  `;
  