Przeglądaj źródła

修复docker build 问题

guoyujing 1 miesiąc temu
rodzic
commit
2d145d7ea1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      frontend/src/layouts/PublicLayout.tsx

+ 1 - 1
frontend/src/layouts/PublicLayout.tsx

@@ -20,7 +20,7 @@ function PublicHeader({
   simulationPath,
   bookingUrl,
 }: Omit<PublicLayoutProps, 'children' | 'footer'>) {
-  const { path, copy } = usePageContext()
+  const { locale, path, copy } = usePageContext()
   const location = useLocation()
   const profilePath = profilePathOverride || path('/profile')
   const customerSimulationPath = simulationPath || path('/customer-simulation')