When using the visual UI editor, adding the same component multiple times (e.g., two buttons) should not result in duplication of import lines and should not cause the page to crash upon saving.
Current Behavior
Using the visual UI editor, when adding the same component multiple times (e.g., two buttons), the import line duplicates, leading to page crashes upon saving.
Expected Behavior
When using the visual UI editor, adding the same component multiple times (e.g., two buttons) should not result in duplication of import lines and should not cause the page to crash upon saving.
Current Behavior
Using the visual UI editor, when adding the same component multiple times (e.g., two buttons), the import line duplicates, leading to page crashes upon saving.
Steps to Reproduce
Steps to reproduce the behavior:
Context (Environment)
Issue demo
https://github.com/Protofy-xyz/Protofy/assets/111370411/0850367c-319c-4683-ba8c-3d5b3ed51371