Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice Board release #4693

Merged
merged 5 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@next/bundle-analyzer": "^10.0.1",
"@reduxjs/toolkit": "^1.4.0",
"@wordpress/api-fetch": "^3.19.1",
"@worldresources/gfw-components": "^3.2.2",
"@worldresources/gfw-components": "^3.4.0",
"aws-sdk": "^2.291.0",
"axios": "^0.21.1",
"chroma-js": "^2.1.0",
Expand Down
1 change: 1 addition & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const getStaticProps = async () => {
news: newsArticles || [],
notifications: notifications || [],
},
revalidate: 10,
};
};

Expand Down
1 change: 1 addition & 0 deletions pages/my-gfw.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const getStaticProps = async () => {
props: {
notifications: notifications || [],
},
revalidate: 10,
};
};

Expand Down
4 changes: 3 additions & 1 deletion wrappers/fullscreen/component.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { useRouter } from 'next/router';
import dynamic from 'next/dynamic';
import { Loader, MediaContextProvider } from '@worldresources/gfw-components';
import cx from 'classnames';

Expand All @@ -10,10 +11,11 @@ import { useSetLanguage } from 'utils/lang';
import Head from 'wrappers/head';
import Cookies from 'wrappers/cookies';

import Header from 'components/header';
import ContactUsModal from 'components/modals/contact-us';
import ErrorMessage from 'components/error-message';

const Header = dynamic(() => import('components/header'), { ssr: false });

const FullScreenWrapper = ({
children,
title,
Expand Down
4 changes: 3 additions & 1 deletion wrappers/page/component.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { useRouter } from 'next/router';
import dynamic from 'next/dynamic';
import { Loader, MediaContextProvider } from '@worldresources/gfw-components';
import cx from 'classnames';

Expand All @@ -10,11 +11,12 @@ import { useSetLanguage } from 'utils/lang';
import Head from 'wrappers/head';
import Cookies from 'wrappers/cookies';

import Header from 'components/header';
import Footer from 'components/footer';
import ContactUsModal from 'components/modals/contact-us';
import ErrorMessage from 'components/error-message';

const Header = dynamic(() => import('components/header'), { ssr: false });

const PageWrapper = ({
children,
showFooter,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3945,10 +3945,10 @@
lodash "^4.17.19"
react-native-url-polyfill "^1.1.2"

"@worldresources/gfw-components@^3.2.2":
version "3.2.2"
resolved "https://registry.yarnpkg.com/@worldresources/gfw-components/-/gfw-components-3.2.2.tgz#3f0992d9beec5520dc71c03ae7858f3f3ec1cc41"
integrity sha512-8QlZWhbgEqWAvQdK+6KF8YvVrKyhSTg7xdxL+sawTCdiPcw37GqhSIUbqWG7c6ltQ1AYDcTTibBS/Y/TttQYuQ==
"@worldresources/gfw-components@^3.4.0":
version "3.4.0"
resolved "https://registry.yarnpkg.com/@worldresources/gfw-components/-/gfw-components-3.4.0.tgz#06ff95f00fa4b52f2fcf15739c5ddba8c52780f2"
integrity sha512-w9s2eYA/cVjXhKdaKr3hlkiWKkaZFSd5XAbIqUv8fZlIRp3cbNgRTYaSXene+NhScYc2NjBKye2hF5MveUU1JQ==
dependencies:
"@artsy/fresnel" "^1.1.0"
"@tippyjs/react" "^4.0.2"
Expand Down
Loading