Skip to content

Commit ff18b3a

Browse files
committed
Merge branch 'create-translatathon-page' of https://github.com/ethereum/ethereum-org-website into create-translatathon-page
2 parents c959e37 + caf57c6 commit ff18b3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ const Layout: React.FC<IProps> = ({
5151
useEffect(() => {
5252
if (path.includes("/docs/")) {
5353
setShouldShowSideNav(true)
54+
} else {
55+
setShouldShowSideNav(false)
5456
}
5557

5658
if (location.hash && !location.hash.includes("gatsby")) {

0 commit comments

Comments
 (0)