From c6bdc21464f88f3cec08f004ad7f68fce54e1c9b Mon Sep 17 00:00:00 2001 From: namdaeun Date: Tue, 19 Nov 2024 19:55:45 +0900 Subject: [PATCH] fix: solve build error --- src/page/dashboard/component/Timeline/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/page/dashboard/component/Timeline/index.tsx b/src/page/dashboard/component/Timeline/index.tsx index 31dd7a913..0648eb92f 100644 --- a/src/page/dashboard/component/Timeline/index.tsx +++ b/src/page/dashboard/component/Timeline/index.tsx @@ -4,11 +4,13 @@ import DateProvider from '@/page/archiving/index/DateProvider'; import TimeLineHeader from '@/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader'; import Timeline from '@/page/dashboard/component/Timeline/Timeline/Timeline'; +import { useInitializeTeamId } from '@/shared/hook/common/useInitializeTeamId'; + const TimelineSection = () => { - const teamId = localStorage.getItem('teamId'); + const teamId = useInitializeTeamId(); return ( - +