feat(sw-187): Refactor footer output and fixed urls to include language
This commit is contained in:
@@ -4,8 +4,8 @@ import FooterDetails from "./Details"
|
||||
import FooterNavigation from "./Navigation"
|
||||
|
||||
export default async function Footer() {
|
||||
const languages = await serverClient().contentstack.languageSwitcher.get()
|
||||
const footerData = await serverClient().contentstack.base.footer()
|
||||
const languages = await serverClient().contentstack.languageSwitcher.get()
|
||||
|
||||
if (!footerData || !languages) {
|
||||
return <FooterDetails />
|
||||
|
||||
Reference in New Issue
Block a user