We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ede7e0a + aff4ee0 commit 087efa0Copy full SHA for 087efa0
components/Page/Footer.tsx
@@ -11,7 +11,9 @@ export const Footer: React.FunctionComponent<IFooterProps> = (props: React.Props
11
const [path, setPath] = React.useState<string>()
12
13
useEffect(() => {
14
- const crntPath = router.asPath;
+ let crntPath = router.asPath;
15
+ crntPath = crntPath.split("#")[0];
16
+
17
if (crntPath === "/") {
18
setPath("")
19
} else if (crntPath.startsWith("/")) {
0 commit comments