Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
feat: uncomment 404 code
Browse files Browse the repository at this point in the history
  • Loading branch information
aswanson-nr committed Jan 27, 2022
1 parent 8a7144e commit 1f5f681
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/layouts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import QuickStartLayout from './QuickStartLayout';
import PropTypes from 'prop-types';

const Layout = ({ children, pageContext }) => {
//if (pageContext.fileRelativePath.match(/404/)) {
//return children;
//}
if (pageContext.fileRelativePath.match(/404/)) {
return children;
}

return <QuickStartLayout>{children}</QuickStartLayout>;
};
Expand Down

0 comments on commit 1f5f681

Please sign in to comment.