Skip to content

Commit

Permalink
feat(ui): remove const file
Browse files Browse the repository at this point in the history
  • Loading branch information
Vu Van Duc authored and Vu Van Duc committed May 3, 2024
1 parent f06ab62 commit 5194aee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/ui/pages/Menu/Menu.const.tsx

This file was deleted.

8 changes: 7 additions & 1 deletion src/ui/pages/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,16 @@ import "./Menu.scss";
import { i18n } from "../../../i18n";
import { SubMenu } from "./components/SubMenu";
import { MenuItemProps, SubMenuData, SubMenuKey } from "./Menu.types";
import { emptySubMenu } from "./Menu.const";
import { Settings } from "./components/Settings";
import { ConnectWallet } from "./components/ConnectWallet";

const emptySubMenu = {
Component: () => <></>,
title: "",
additionalButtons: <></>,
pageId: "empty",
};

const MenuItem = ({
itemKey,
icon,
Expand Down

0 comments on commit 5194aee

Please sign in to comment.