diff --git a/src/page/home.js b/src/page/home.js index 114e8383..004e3231 100644 --- a/src/page/home.js +++ b/src/page/home.js @@ -1,10 +1,10 @@ import { Header } from "../util/header.js"; import { Footer } from "../util/footer.js"; -export const HomePage = (isLogin) => ` +export const HomePage = () => `
- ${Header(isLogin)} + ${Header()}
diff --git a/src/util/header.js b/src/util/header.js index f592b58c..acebd9ad 100644 --- a/src/util/header.js +++ b/src/util/header.js @@ -2,6 +2,7 @@ import { State } from "../store/state"; export const Header = () => { const currentPath = window.location.pathname; + const hashPath = window.location.hash; const state = new State(); let isLogin = !!state.getState(); return ` @@ -11,10 +12,10 @@ export const Header = () => {