Skip to content

Commit

Permalink
fix: solve build error
Browse files Browse the repository at this point in the history
  • Loading branch information
namdaeun committed Nov 19, 2024
1 parent 2d2cce0 commit c6bdc21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/page/dashboard/component/Timeline/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<DateProvider teamId={teamId!}>
<DateProvider teamId={teamId}>
<TimeLineHeader />
<Suspense>
<Timeline />
Expand Down

0 comments on commit c6bdc21

Please sign in to comment.