src/app/routes/errorNoRouteMatch/index.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { ErrorPage } from '#pages';
import { ERROR_PAGE } from '#app/routes/utils/pageTypes';

export default {
  component: ErrorPage,
  getInitialData: () => Promise.resolve({ status: 404, errorCode: 404 }),
  pageType: ERROR_PAGE,
};