Skip to content

Commit

Permalink
feat: add menu crash in frontend (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
love98ooo authored Aug 10, 2024
1 parent 935437d commit 31fc868
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions web/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,13 @@ class App extends Component {
</a>
</Menu.Item>
);
return (
<Menu>
{
res
}
</Menu>
);
} else {
res.push(
<div style={{float: "right", display: "flex", alignItems: "center"}}>
Expand All @@ -242,8 +249,6 @@ class App extends Component {
</div>
);
}

return res;
}

renderMenu() {
Expand Down

0 comments on commit 31fc868

Please sign in to comment.