물건상세화면에서 로그아웃 -> 뒤로가기 .. 처리수정 Header.jsx
This commit is contained in:
parent
eeb13ce9b5
commit
b69c9953c7
@ -16,7 +16,7 @@ export const useMainContentsController = () => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
checkSession().then((res) => {
|
checkSession().then((res) => {
|
||||||
if (!res) {
|
if (!res) {
|
||||||
router.replace('/login')
|
router.replace('/login', undefined, { shallow: true })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
setIsGlobalLoading(true)
|
setIsGlobalLoading(true)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user