Skip to content

Commit

Permalink
[TS migration][WorkspaceCard] Ts fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-rebelo committed Jan 31, 2024
1 parent 74051cb commit c27c85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspacePageWithSections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function WorkspacePageWithSections({
const isLoading = reimbursementAccount?.isLoading ?? true;
const achState = reimbursementAccount?.achData?.state ?? '';
const isUsingECard = user?.isUsingExpensifyCard ?? false;
const policyID = route.params.policyID;
const policyID = route.params?.policyID ?? '';
const policyName = policy?.name;
const hasVBA = achState === BankAccount.STATE.OPEN;
const content = children(hasVBA, policyID, isUsingECard);
Expand Down

0 comments on commit c27c85a

Please sign in to comment.