A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix error not shown on redeem code failure
Abdullah Atta99e642780e63
diff --git a/apps/web/src/dialogs/settings/components/subscription-status.tsx b/apps/web/src/dialogs/settings/components/subscription-status.tsxindex bfd013c75..9fc6e8d46 100644--- a/apps/web/src/dialogs/settings/components/subscription-status.tsx+++ b/apps/web/src/dialogs/settings/components/subscription-status.tsx@@ -219,8 +219,11 @@ export function SubscriptionStatus() {type: "modal",title: strings.redeemingGiftCode(),subtitle: strings.pleaseWait() + "...",- action: () => db.subscriptions.redeemCode(giftCode)- }).catch((e) => showToast("error", e.message));+ action: () =>+ db.subscriptions+ .redeemCode(giftCode)+ .catch((e) => showToast("error", e.message))+ });}}}sx={{ bg: "background" }}