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: import `useCallback` (#1045)
Himself658774df46f9c5
diff --git a/apps/desktop/src/preload/components/enable-workspace-modal/index.tsx b/apps/desktop/src/preload/components/enable-workspace-modal/index.tsxindex 968a7b71c3..0d91467e71 100644--- a/apps/desktop/src/preload/components/enable-workspace-modal/index.tsx+++ b/apps/desktop/src/preload/components/enable-workspace-modal/index.tsx@@ -1,7 +1,7 @@import { Modal, ModalWrapper } from '@affine/component';import { IconButton } from '@affine/component';import { useTranslation } from '@affine/i18n';-import { useState } from 'react';+import { useCallback, useState } from 'react';import router from 'next/router';import { toast } from '@affine/component';import { CloseIcon } from '@blocksuite/icons';