guoyujing 1 месяц назад
Родитель
Сommit
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')