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: type error
Bryan Leef81c600aaf55
diff --git a/libs/components/editor-blocks/src/blocks/todo/CheckBox.tsx b/libs/components/editor-blocks/src/blocks/todo/CheckBox.tsxindex badd4f6a60..59d0d20fb8 100644--- a/libs/components/editor-blocks/src/blocks/todo/CheckBox.tsx+++ b/libs/components/editor-blocks/src/blocks/todo/CheckBox.tsx@@ -9,19 +9,19 @@ interface CheckBoxProps {}export const CheckBox: FC<CheckBoxProps> = ({- size = '16px',- height = '23px',+ size = 16,+ height = 23,checked,onChange,}) => {const dynamic_style = useMemo(() => ({height: {- height,+ height: `${height}px`,},size: {- width: size,- height: size,+ width: `${size}px`,+ height: `${size}px`,},}),[height, size]