From 0262619d0356e9a12a5b9e09a06ba12f041c9eb6 Mon Sep 17 00:00:00 2001 From: yangy Date: Thu, 30 Apr 2026 10:59:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8useHashLocation=E9=92=A9?= =?UTF-8?q?=E5=AD=90=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E4=BB=A5=E6=94=AF=E6=8C=81=E5=93=88=E5=B8=8C=E8=B7=AF?= =?UTF-8?q?=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index 895dabf..b8be9c2 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -1,6 +1,7 @@ import { Toaster } from "@/components/ui/sonner"; import { TooltipProvider } from "@/components/ui/tooltip"; import { Route, Switch, Router } from "wouter"; +import { useHashLocation } from "wouter/use-hash-location"; import ErrorBoundary from "./components/ErrorBoundary"; import { ThemeProvider } from "./contexts/ThemeContext"; import { DeviceProvider } from "./contexts/DeviceContext"; @@ -50,7 +51,7 @@ function App() { - + {/* Desktop: narrow shell centered in the browser with side gutters */}