mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -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