Skip to content

Commit

Permalink
#206 chore: token error 처리는 사용자 인증과 관련된 비즈니스 로직이라 판단하여 shared로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzoo committed Aug 5, 2024
1 parent fe1fbfe commit 3ad9a78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/page/archiving/index/ArchivingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ const ArchivingPage = () => {
const location = useLocation();
const teamId = new URLSearchParams(location.search).get('teamId');

if (!teamId) {
throw new Error('has no error');
}
if (!teamId) throw new Error('has no error');

const { currentDate, currentYear, selectedMonth, setSelectedMonth, handlePrevYear, handleNextYear, endDay } =
useDate();
Expand Down
File renamed without changes.

0 comments on commit 3ad9a78

Please sign in to comment.