Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: buy dialog is not dismissable

thecodrreb4b0751af8a
diff --git a/apps/web/src/common/dialogcontroller.js b/apps/web/src/common/dialogcontroller.js
index a6c111c18..924278a7c 100644
--- a/apps/web/src/common/dialogcontroller.js
+++ b/apps/web/src/common/dialogcontroller.js
@@ -95,7 +95,7 @@ export function showBuyDialog(plan, couponCode) {
<Dialogs.BuyDialog
plan={plan}
couponCode={couponCode}
- onCancel={() => perform(false)}
+ onClose={() => perform(false)}
/>
));
}