checkpoint

This commit is contained in:
Brian Cao committed 2022-10-12 16:29:44 -07:00
1 parent db1ae3f2c7
commit 9e8748e2f3
14 files changed
+24 -101

No files matched your search

+2 -10
View File
@@ -2,9 +2,9 @@ import React from 'react';
import Layout from 'components/layout/Layout';
import { FormattedMessage } from 'react-intl';
export default function Custom404({ settingsDisabled }) {
export default function Custom404() {
return (
<Layout settingsDisabled={settingsDisabled}>
<Layout>
<div className="row justify-content-center">
<h1>
<FormattedMessage id="message.page-not-found" defaultMessage="Page not found" />
@@ -13,11 +13,3 @@ export default function Custom404({ settingsDisabled }) {
</Layout>
);
}
export async function getServerSideProps() {
return {
props: {
settingsDisabled: !!process.env.CLOUD_MODE,
},
};
}