Skip to content

Commit

Permalink
fix variablenaming
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne committed Dec 18, 2024
1 parent c9c42e3 commit 1c92db5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/(main)/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default async function Layout({
companyInfo={initialCompanyInfo.data}
companyLocations={initialCompanyLocations.data}
soMeData={initialSoMe.data}
footerColorPalette={initialColorPallette.data}
footerColorPalette={initialColorPalette.data}
/>
</NextIntlClientProvider>

Expand Down
6 changes: 3 additions & 3 deletions src/components/navigation/footer/FooterPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function FooterPreview({
COMPANY_LOCATIONS_QUERY,
initialCompanyLocations,
);
const newFooterColorPallette = useInitialData(
const newFooterColorPalette = useInitialData(
FOOTER_COLOR_QUERY,
initialFooterColor,
);
Expand All @@ -73,14 +73,14 @@ export default function FooterPreview({
newSoMedata &&
newLegal &&
newCompanyLocations &&
newFooterColorPallette && (
newFooterColorPalette && (
<Footer
navigationData={newNav}
companyInfo={newCompanyInfo}
companyLocations={newCompanyLocations}
soMeData={newSoMedata}
legalData={newLegal}
footerColorPalette={newFooterColorPallette}
footerColorPalette={newFooterColorPalette}
/>
)
);
Expand Down

0 comments on commit 1c92db5

Please sign in to comment.