Skip to content

Commit

Permalink
display not found page with invalid field edit
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Aug 30, 2023
1 parent 93bde20 commit 7fd1ec3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/EditRequestPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import EditRequestAmountPage from './EditRequestAmountPage';
import reportPropTypes from './reportPropTypes';
import * as IOU from '../libs/actions/IOU';
import * as CurrencyUtils from '../libs/CurrencyUtils';
import FullPageNotFoundView from '../components/BlockingViews/FullPageNotFoundView';

const propTypes = {
/** Route from navigation */
Expand Down Expand Up @@ -168,7 +169,7 @@ function EditRequestPage({report, route, parentReport, policy, session}) {
);
}

return null;
return <FullPageNotFoundView shouldShow />;
}

EditRequestPage.displayName = 'EditRequestPage';
Expand Down

0 comments on commit 7fd1ec3

Please sign in to comment.