Parcourir la source

修复docker build 问题

guoyujing il y a 1 mois
Parent
commit
2d145d7ea1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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')