diff --git a/src/widgets/chain-editor/ui/ChainEditor.tsx b/src/widgets/chain-editor/ui/ChainEditor.tsx index 520639d..e6cda1a 100644 --- a/src/widgets/chain-editor/ui/ChainEditor.tsx +++ b/src/widgets/chain-editor/ui/ChainEditor.tsx @@ -1,5 +1,6 @@ import type { Chain } from "@/entities/chain/schema"; +import { ActionEditor } from "@/widgets/action-editor"; import { RenameChainButton } from "@/features/rename-chain"; import { DeleteChainButton } from "@/features/delete-chain"; @@ -13,28 +14,39 @@ interface ChainEditorProps { export default function ChainEditor({ chain }: ChainEditorProps) { if (!chain.actions || chain.actions.length === 0) return ( - <> - - - {chain.name} - - - Новый пост - - - +
+
+ + + {chain.name} + + + Новый пост + + + +
+ + +
+
+ +
+ +
+
); return ( -
+