mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 09:22:38 +03:00
fix: incorrect key prop
This commit is contained in:
parent
72868bec31
commit
4c4e98d885
@ -1,9 +1,9 @@
|
|||||||
import {
|
import {
|
||||||
|
BlockPendantProvider,
|
||||||
CreateView,
|
CreateView,
|
||||||
RenderBlock,
|
RenderBlock,
|
||||||
useCurrentView,
|
useCurrentView,
|
||||||
useOnSelect,
|
useOnSelect,
|
||||||
BlockPendantProvider,
|
|
||||||
} from '@toeverything/components/editor-core';
|
} from '@toeverything/components/editor-core';
|
||||||
import { styled } from '@toeverything/components/ui';
|
import { styled } from '@toeverything/components/ui';
|
||||||
import type {
|
import type {
|
||||||
@ -60,8 +60,8 @@ const ChildrenView = ({
|
|||||||
{childrenIds.map((childId, idx) => {
|
{childrenIds.map((childId, idx) => {
|
||||||
if (isKanbanScene) {
|
if (isKanbanScene) {
|
||||||
return (
|
return (
|
||||||
<StyledBorder>
|
<StyledBorder key={childId}>
|
||||||
<RenderBlock key={childId} blockId={childId} />
|
<RenderBlock blockId={childId} />
|
||||||
</StyledBorder>
|
</StyledBorder>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user