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 authored and tabathadelane committed Jan 28, 2022
1 parent f11b35a commit d49bace
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 d49bace

Please sign in to comment.