File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import CourseAccessErrorPage from './generic/CourseAccessErrorPage';
3535import DecodePageRoute from './decode-page-route' ;
3636import { DECODE_ROUTES , ROUTES } from './constants' ;
3737import PreferencesUnsubscribe from './preferences-unsubscribe' ;
38+ import PageNotFound from './generic/PageNotFound' ;
3839
3940subscribe ( APP_READY , ( ) => {
4041 const root = createRoot ( document . getElementById ( 'root' ) ) ;
@@ -50,6 +51,7 @@ subscribe(APP_READY, () => {
5051 < UserMessagesProvider >
5152 < div className = "app-container" >
5253 < Routes >
54+ < Route path = "*" element = { < PageWrap > < PageNotFound /> </ PageWrap > } />
5355 < Route path = { ROUTES . UNSUBSCRIBE } element = { < PageWrap > < GoalUnsubscribe /> </ PageWrap > } />
5456 < Route path = { ROUTES . REDIRECT } element = { < PageWrap > < CoursewareRedirectLandingPage /> </ PageWrap > } />
5557 < Route
You can’t perform that action at this time.
0 commit comments