Skip to content

Commit

Permalink
fix: root layout setting
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarudgh committed Apr 13, 2024
1 parent 873a265 commit 4dfba71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
7 changes: 4 additions & 3 deletions src/app/template.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import '@/shared/styles/globals.css';
'use client';

import type { ReactNode } from 'react';
import { RootLayout } from '@/widgets';
import { RecoilRoot } from 'recoil';

interface Props {
children: ReactNode;
}

const Template = ({ children }: Readonly<Props>) => {
return <RootLayout>{children}</RootLayout>;
return <RecoilRoot>{children}</RecoilRoot>;
};

export default Template;
12 changes: 0 additions & 12 deletions src/widgets/root/Root.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/widgets/root/index.ts

This file was deleted.

0 comments on commit 4dfba71

Please sign in to comment.