2
0

feat(editor): 💄 Change default block title

This commit is contained in:
Baptiste Arnaud
2022-03-31 14:37:38 +02:00
parent 22a36e6de7
commit 82f7bf0ed6

View File

@ -42,7 +42,7 @@ const blocksActions = (setTypebot: SetTypebot): BlocksActions => ({
const newBlock: Block = { const newBlock: Block = {
id, id,
graphCoordinates, graphCoordinates,
title: `Block #${typebot.blocks.length}`, title: `Group #${typebot.blocks.length}`,
steps: [], steps: [],
} }
typebot.blocks.push(newBlock) typebot.blocks.push(newBlock)