Ver Fonte

修复docker build 问题

guoyujing há 1 mês atrás
pai
commit
2d145d7ea1
1 ficheiros alterados com 1 adições e 1 exclusões
  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')