Skip to content

Commit

Permalink
chore: 권한 미확인 시 이전 페이지로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
whitedev7773 committed Nov 6, 2024
1 parent 617cef2 commit ae9b4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layouts/DashboardLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const DashboardLayout = ({ location }) => {
}

if (isError) {
navigate('/');
navigate(-1);
}
}, [isLoading, isError]);

Expand Down

0 comments on commit ae9b4b4

Please sign in to comment.