Skip to content

Commit

Permalink
Merge pull request #26269 from dukenv0307/fix/26014
Browse files Browse the repository at this point in the history
Display not found page with invalid field edit
  • Loading branch information
bondydaa authored Sep 11, 2023
2 parents b2f3d44 + 7fd1ec3 commit b658637
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 b658637

Please sign in to comment.