whoopsie
This commit is contained in:
parent
063fadc7c1
commit
a042782248
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ const onButtonClick = (buttonId) => {
|
|||
|
||||
const getButtonFromPathname = (pathname) => {
|
||||
let button = 'button-home';
|
||||
for (const [k, v] of buttonMap) {
|
||||
for (const [k, v] of Object.entries(buttonMap)) {
|
||||
if (v === pathname) {
|
||||
button = k;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue