Skip to content

Commit

Permalink
Index 찰나에 보이는 오류 수정 (#5)
Browse files Browse the repository at this point in the history
* add: History.push
  • Loading branch information
zzsza committed Apr 7, 2024
1 parent c60028e commit bb31c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Home(): JSX.Element {
useEffect(() => {
// 페이지가 로드될 때 /intro (또는 해당 baseUrl을 포함한 경로)로 리디렉션
history.push(introUrl);
}, [history, introUrl]);
}, []);

return (
<Layout title="홈" description="글또 Document">
Expand Down

0 comments on commit bb31c61

Please sign in to comment.