Преглед на файлове

修复docker build 问题

guoyujing преди 1 месец
родител
ревизия
2d145d7ea1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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')