Skip to content

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

fix: don't ignore user status on accent color change

thecodrr018502ac472d
diff --git a/apps/web/src/components/accent-item/index.js b/apps/web/src/components/accent-item/index.js
index ccdd70a55..a154d78fb 100644
--- a/apps/web/src/components/accent-item/index.js
+++ b/apps/web/src/components/accent-item/index.js
@@ -15,11 +15,10 @@ function AccentItem(props) {
variant="rowCenter"
sx={{ position: "relative" }}
onClick={async () => {
- await showBuyDialog();
- // if (isUserPremium()) setAccent(code);
- // else {
- // await showBuyDialog();
- // }
+ if (isUserPremium()) setAccent(code);
+ else {
+ await showBuyDialog();
+ }
}}
key={label}
>