diff --git a/apps/climatemappedafrica/eslint.webpack.config.js b/apps/climatemappedafrica/eslint.webpack.config.js index 4242830fc..7e30d0408 100644 --- a/apps/climatemappedafrica/eslint.webpack.config.js +++ b/apps/climatemappedafrica/eslint.webpack.config.js @@ -19,7 +19,6 @@ module.exports = { resolve: { alias: { "@/climatemappedafrica": path.resolve(__dirname, "src/"), - content: path.resolve(__dirname, "content/"), }, extensions: [".js"], }, diff --git a/apps/climatemappedafrica/jest.config.js b/apps/climatemappedafrica/jest.config.js index 69bb7f133..70265641e 100644 --- a/apps/climatemappedafrica/jest.config.js +++ b/apps/climatemappedafrica/jest.config.js @@ -11,6 +11,8 @@ module.exports = { "/../../packages/commons-ui-core/src/$1", "^@/commons-ui/next/(.*)$": "/../../packages/commons-ui-next/src/$1", + "^@/commons-ui/payload/(.*)$": + "/../../packages/commons-ui-payload/src/$1", }, transformIgnorePatterns: ["/node_modules/(?!camelcase-keys)"], }; diff --git a/apps/climatemappedafrica/jsconfig.json b/apps/climatemappedafrica/jsconfig.json index d997fd29f..c2777f419 100644 --- a/apps/climatemappedafrica/jsconfig.json +++ b/apps/climatemappedafrica/jsconfig.json @@ -5,6 +5,7 @@ "@/climatemappedafrica/*": ["./src/*"], "@/commons-ui/core/*": ["../../packages/commons-ui-core/src/*"], "@/commons-ui/next/*": ["../../packages/commons-ui-next/src/*"], + "@/commons-ui/payload/*": ["../../packages/commons-ui-payload/src/*"], "@/hurumap/core/*": ["../../packages/hurumap-core/src/*"], "@/hurumap/next/*": ["../../packages/hurumap-next/src/*"] } diff --git a/apps/climatemappedafrica/next.config.js b/apps/climatemappedafrica/next.config.js index ed809bcc4..9bab1d826 100644 --- a/apps/climatemappedafrica/next.config.js +++ b/apps/climatemappedafrica/next.config.js @@ -28,6 +28,7 @@ module.exports = { transpilePackages: [ "@commons-ui/core", "@commons-ui/next", + "@commons-ui/payload", "@hurumap/core", "@hurumap/next", ], diff --git a/apps/climatemappedafrica/src/components/Footer/index.js b/apps/climatemappedafrica/src/components/Footer/index.js index 57e721b1f..aa58eba96 100644 --- a/apps/climatemappedafrica/src/components/Footer/index.js +++ b/apps/climatemappedafrica/src/components/Footer/index.js @@ -69,7 +69,7 @@ function Footer(props) { }, })} elements={description} - typographyProps={{ + TypographyProps={{ LinkProps: { color: "text.secondary", sx: { diff --git a/apps/climatemappedafrica/src/components/Hero/Hero.snap.js b/apps/climatemappedafrica/src/components/Hero/Hero.snap.js index 4fc9fb1e1..df36df3f0 100644 --- a/apps/climatemappedafrica/src/components/Hero/Hero.snap.js +++ b/apps/climatemappedafrica/src/components/Hero/Hero.snap.js @@ -76,6 +76,7 @@ exports[` renders unchanged 1`] = ` />