Fixed undo not working when grouping components

This commit is contained in:
Lucas Oliveira 2023-10-20 19:45:28 -03:00
commit 8c1454cb13

View file

@ -499,6 +499,7 @@ export default function Page({
isVisible={selectionMenuVisible}
nodes={lastSelection?.nodes}
onClick={() => {
takeSnapshot();
if (
validateSelection(lastSelection!, edges).length === 0
) {