Skip to content

Commit

Permalink
chore(web): fix pages without logs (#1662)
Browse files Browse the repository at this point in the history
  • Loading branch information
newfish-cmyk authored Nov 9, 2023
1 parent ff670f8 commit dfcdb9f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions web/src/pages/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import useGlobalStore from "../globalStore";
import SideBar from "./mods/SideBar";
import DatabasePage from "./database";
import FunctionPage from "./functions";
import LogsPage from "./logs";
import StoragePage from "./storages";

function AppDetail() {
Expand All @@ -26,11 +25,7 @@ function AppDetail() {
{
pageId: Pages.storage,
component: StoragePage,
},
{
pageId: Pages.logs,
component: LogsPage,
},
}
].map((item) =>
visitedViews.includes(item.pageId) ? (
<div
Expand Down

0 comments on commit dfcdb9f

Please sign in to comment.