Snippet 설정을 끝낸 뒤에는 다시 AuthTemplate 컴포넌트를 열어서 children을 렌더링하세요.

    components/auth/AuthTemplate.js

    import React from 'react';
    import styled from 'styled-components';
    
    /**
     * 회원가입/로그인 페이지의 레이아웃을 담당하는 컴포넌트입니다.
     */
    
    const AuthTemplateBlock = styled.div``;
    
    const AuthTemplate = ({ children }) => {
      return <AuthTemplateBlock>{children}</AuthTemplateBlock>;
    };
    
    export default AuthTemplate;

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.