mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-07 04:20:11 +08:00
fix: remove console
This commit is contained in:
@@ -128,7 +128,6 @@ export const useShapes = (workspace: string, rootBlockId: string) => {
|
|||||||
|
|
||||||
return acc;
|
return acc;
|
||||||
}, {} as Record<string, TDShape>);
|
}, {} as Record<string, TDShape>);
|
||||||
console.log('useShapes', blocksShapes);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
shapes: blocksShapes,
|
shapes: blocksShapes,
|
||||||
|
|||||||
@@ -35,8 +35,6 @@ const _getIconRenderColor = (shapes: TDShape[]) => {
|
|||||||
|
|
||||||
export const BorderColorConfig = ({ app, shapes }: BorderColorConfigProps) => {
|
export const BorderColorConfig = ({ app, shapes }: BorderColorConfigProps) => {
|
||||||
const setBorderColor = (color: string) => {
|
const setBorderColor = (color: string) => {
|
||||||
console.log('shapes', shapes, color);
|
|
||||||
|
|
||||||
app.style({ stroke: color }, getShapeIds(shapes));
|
app.style({ stroke: color }, getShapeIds(shapes));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user