Skip to content

Commit 2fca734

Browse files
Design/Navigation bar #23 Final!
Design/Navigation bar #23 Final!
2 parents 89cb740 + 39c4577 commit 2fca734

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/layout/Layout.jsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,18 @@ const Layout = ({ children }) => {
6464
break;
6565
}
6666
console.log(header);
67-
}, [pagePathName.pathname]);
67+
}, [pagePathName.pathname, id]);
6868

6969
return (
7070
<OutWrap>
7171
<Container>
7272
{header}
7373
<Slider>{children}</Slider>
7474
{pagePathName.pathname === "/Login" ||
75-
"/signup" ||
76-
"/signup/setProfileName" ||
77-
"/signup/setProfileImg" ||
78-
`/detail/${id}` ? null : (
75+
pagePathName.pathname === "/signup" ||
76+
pagePathName.pathname === "/signup/setProfileName" ||
77+
pagePathName.pathname === "/signup/setProfileImg" ||
78+
pagePathName.pathname === `/detail/${id}` ? null : (
7979
<BottomNavi />
8080
)}
8181
</Container>

0 commit comments

Comments
 (0)