Merge pull request #633 from ajnart/fix-incorrect-wrapper-position-increment

🐛 Fix incorrect wrapper position increment #630 #621
This commit is contained in:
Thomas Camlong
2023-01-25 00:22:55 +09:00
committed by GitHub

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: [