Skip to content

Commit

Permalink
refactor: layout useResizeViewportHeight hook제거 및 server component로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
saseungmin committed Feb 6, 2024
1 parent 6010c1d commit 1f3bbc8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/Layout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
'use client';

import { PropsWithChildren } from 'react';

import Image from 'next/image';

import { useResizeViewportHeight } from '@nf-team/react';

import styles from './index.module.scss';

function Layout({ children }: PropsWithChildren) {
useResizeViewportHeight();

return (
<div className={styles.layoutWrapper}>
<div className={styles.contentWrapper}>
Expand Down

0 comments on commit 1f3bbc8

Please sign in to comment.