Skip to content

Commit

Permalink
fix useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperhuangg committed Aug 17, 2023
1 parent 43daa6d commit a2f6277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/iou/steps/MoneyRequestConfirmPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ function MoneyRequestConfirmPage(props) {
if (policyExpenseChat) {
Policy.openDraftWorkspaceRequest(policyExpenseChat.policyID);
}
});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

useEffect(() => {
// ID in Onyx could change by initiating a new request in a separate browser tab or completing a request
Expand Down

0 comments on commit a2f6277

Please sign in to comment.