Skip to content

Commit 8de9eae

Browse files
committed
more comments
1 parent fc22a61 commit 8de9eae

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pages/workspace/receiptPartners/WorkspaceReceiptPartnersPromotionBanner.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ function WorkspaceReceiptPartnersPromotionBanner({policy, readOnly}: WorkspaceRe
2929
const {shouldUseNarrowLayout} = useResponsiveLayout();
3030
const {isBetaEnabled} = usePermissions();
3131
const policyID = policy?.id;
32-
const {setAsDismissed} = useDismissedUberBanners({policyID});
33-
const {isDismissed} = useDismissedUberBanners({policyID: policy?.id});
32+
const {setAsDismissed, isDismissed} = useDismissedUberBanners({policyID});
3433
const shouldShowReceiptPartnersPromotionBanner = isBetaEnabled(CONST.BETAS.UBER_FOR_BUSINESS) && !policy?.areReceiptPartnersEnabled && !isDismissed && !readOnly;
3534

3635
const handleConnectUber = useCallback(() => {

0 commit comments

Comments
 (0)