Skip to content

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.

fix: remove console

alt0db44f619f2f9
diff --git a/libs/components/affine-board/src/hooks/use-shapes.ts b/libs/components/affine-board/src/hooks/use-shapes.ts
index d2010ffc76..818accb024 100644
--- a/libs/components/affine-board/src/hooks/use-shapes.ts
+++ b/libs/components/affine-board/src/hooks/use-shapes.ts
@@ -128,7 +128,6 @@ export const useShapes = (workspace: string, rootBlockId: string) => {
return acc;
}, {} as Record<string, TDShape>);
- console.log('useShapes', blocksShapes);
return {
shapes: blocksShapes,
diff --git a/libs/components/board-draw/src/components/command-panel/BorderColorConfig.tsx b/libs/components/board-draw/src/components/command-panel/BorderColorConfig.tsx
index eb544869cf..15d6eadc18 100644
--- a/libs/components/board-draw/src/components/command-panel/BorderColorConfig.tsx
+++ b/libs/components/board-draw/src/components/command-panel/BorderColorConfig.tsx
@@ -35,8 +35,6 @@ const _getIconRenderColor = (shapes: TDShape[]) => {
export const BorderColorConfig = ({ app, shapes }: BorderColorConfigProps) => {
const setBorderColor = (color: string) => {
- console.log('shapes', shapes, color);
-
app.style({ stroke: color }, getShapeIds(shapes));
};