🐛 Fix incorrect wrapper position increment #630 #621

This commit is contained in:
Manuel
2023-01-23 20:35:59 +01:00
parent 9d5948e122
commit a16866b269

View File

@@ -50,7 +50,7 @@ export const AvailableElementTypes = ({
{
id: uuidv4(),
// Thank you ChatGPT ;)
position: previousConfig.wrappers.length + 1,
position: previousConfig.categories.length + 1,
},
],
categories: [