Skip to content

Commit af0dcf7

Browse files
Vikhyath MondretiVikhyath Mondreti
authored andcommitted
remove optional chain
1 parent 617ea25 commit af0dcf7

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/settings-modal/components/subscription/components

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/settings-modal/components/subscription/components/cancel-subscription.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function CancelSubscription({ subscription, subscriptionData }: CancelSub
6363
activeOrgId,
6464
})
6565

66-
const result = await betterAuthSubscription.cancel?.({
66+
const result = await betterAuthSubscription.cancel({
6767
returnUrl: window.location.href,
6868
referenceId,
6969
})

0 commit comments

Comments
 (0)