There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): fix notification setting error (#11194)
EYHN7fb52a97bd78
diff --git a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/notifications/index.tsx b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/notifications/index.tsxindex 1ea805b420..a88fb9d902 100644--- a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/notifications/index.tsx+++ b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/notifications/index.tsx@@ -28,7 +28,6 @@ export const NotificationSettings = () => {const error = useLiveData(userSettingsService.error$);const errorMessage = useMemo(() => {if (error) {- console.log('error', error);const userFriendlyError = UserFriendlyError.fromAny(error);return t[`error.${userFriendlyError.name}`](userFriendlyError.data);}@@ -65,7 +64,7 @@ export const NotificationSettings = () => {<SettingWrappertitle={t['com.affine.setting.notifications.email.title']()}>- {errorMessage && (+ {!userSettings && errorMessage && (<><div className={styles.errorMessage}>{errorMessage}</div><br />