Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/dashboard/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { OpsView } from "./views/OpsView";
import { OverviewView } from "./views/OverviewView";
import { RawJsonInspectorView } from "./views/RawJsonInspectorView";
import { RootfieldsView } from "./views/RootfieldsView";
import { UniswapHooksView } from "./views/UniswapHooksView";
import { VerifierReportsView } from "./views/VerifierReportsView";
import { WalletView } from "./views/WalletView";
import { WorkbenchView } from "./views/WorkbenchView";
Expand Down Expand Up @@ -124,6 +125,7 @@ export default function App() {
<Route path="/wallet" element={<WalletView workbench={workbench} />} />
<Route path="/tester" element={<ExternalTesterLaunchView workbench={workbench} />} />
<Route path="/bridge" element={<BridgePilotView workbench={workbench} />} />
<Route path="/hooks" element={<UniswapHooksView data={canaryData} />} />
<Route path="/explorer" element={<ExplorerView data={data} workbench={workbench} />} />
<Route path="/ops" element={<OpsView workbench={workbench} />} />
<Route path="/overview" element={<OverviewView data={data} />} />
Expand Down
5 changes: 4 additions & 1 deletion apps/dashboard/src/components/AppShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
ClipboardCheck,
ArrowRightLeft,
Compass,
GitBranch,
RadioReceiver,
LayoutDashboard,
Monitor,
Expand All @@ -36,6 +37,7 @@ const NAV_ITEMS = [
{ to: "/wallet", label: "Wallet", icon: Wallet },
{ to: "/tester", label: "Tester launch", icon: UserPlus },
{ to: "/bridge", label: "Bridge pilot", icon: ArrowRightLeft },
{ to: "/hooks", label: "V4 hooks", icon: GitBranch },
{ to: "/explorer", label: "Explorer", icon: Compass },
{ to: "/ops", label: "Ops", icon: ShieldAlert },
{ to: "/overview", label: "Overview", icon: LayoutDashboard },
Expand All @@ -55,7 +57,8 @@ export function AppShell({ data, canaryData, workbench, children }: AppShellProp
const location = useLocation();
const isBridgeRoute = location.pathname.startsWith("/bridge");
const isWalletRoute = location.pathname.startsWith("/wallet");
if (isBridgeRoute || isWalletRoute) {
const isHooksRoute = location.pathname.startsWith("/hooks");
if (isBridgeRoute || isWalletRoute || isHooksRoute) {
return <>{children}</>;
}

Expand Down
Loading
Loading