Skip to content

Commit

Permalink
!!fix
Browse files Browse the repository at this point in the history
  • Loading branch information
03hoho03 committed Apr 8, 2024
1 parent eb9b54c commit 5e715fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/_common/nav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useRouter } from 'next/navigation'
//TODO: 사용자 프로필 이미지 가져오기
function Nav() {
const router = useRouter()
const accessToken = localStorage.getItem('accessToken')
const accessToken = localStorage?.getItem('accessToken')

const handleLogout = () => {
localStorage.removeItem('accessToken')
Expand Down

0 comments on commit 5e715fd

Please sign in to comment.