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.
1 parent 0868081 commit aff4ee0Copy full SHA for aff4ee0
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