We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe18b9 commit ce7c718Copy full SHA for ce7c718
1 file changed
src/pages/workspace/WorkspaceResetBankAccountModal.tsx
@@ -36,7 +36,7 @@ function WorkspaceResetBankAccountModal({
36
}: WorkspaceResetBankAccountModalProps) {
37
const styles = useThemeStyles();
38
const {translate} = useLocalize();
39
- const [session] = useOnyx(ONYXKEYS.SESSION);
+ const [session] = useOnyx(ONYXKEYS.SESSION, {canBeMissing: true});
40
const policyID = reimbursementAccount?.achData?.policyID;
41
const [policy] = useOnyx(`${ONYXKEYS.COLLECTION.POLICY}${policyID}`, {canBeMissing: true});
42
const achData = reimbursementAccount?.achData;
0 commit comments