Skip to content

Commit b0c1908

Browse files
authored
notifications/SubscriptionPage: Fix showing error on successfull subscription (#1734)
1 parent 86ae079 commit b0c1908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/client/notifications/SubscriptionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default function SubscriptionPage(data: Props) {
116116
>({
117117
mutationFn: useSubscribePublicEmail(),
118118
onError: (error) => handleError(error),
119-
onSuccess: () => handleSuccess,
119+
onSuccess: () => handleSuccess(),
120120
})
121121

122122
async function callSubscribeApiRoute(values: {

0 commit comments

Comments
 (0)