fix: update EdgeProvider to correctly set back button visibility based on pathname
This commit is contained in:
parent
4ab2b225cd
commit
b4db26d80a
@ -55,6 +55,8 @@ export default function EdgeProvider({ children }: React.PropsWithChildren) {
|
||||
useEffect(() => {
|
||||
if (pathname === '/') {
|
||||
setBackBtn(false)
|
||||
} else {
|
||||
setBackBtn(true)
|
||||
}
|
||||
//사이드바 초기화
|
||||
reset()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user