mirror of
https://github.com/youwen5/site.git
synced 2024-11-28 10:53:50 -08:00
refactor: remove debug logging from navbar
This commit is contained in:
parent
3cfbb34041
commit
10764886e4
1 changed files with 0 additions and 2 deletions
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
const updateCurrent = () => {
|
const updateCurrent = () => {
|
||||||
const path = window.location.pathname;
|
const path = window.location.pathname;
|
||||||
console.log(path);
|
|
||||||
console.log(path.split('/'));
|
|
||||||
if (path === '/') {
|
if (path === '/') {
|
||||||
current = 'home';
|
current = 'home';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue