When I change the settings of the main component, all the prototype settings that were set using that component disappear.

Even if I set a prototype on a component, the settings disappear when I edit the original main component. How do I resolve this issue? Or is it a bug in Figma? It would be helpful if you could tell me. Example: If I tap a button on a dialog component, a toast message saying “Sending completed” will appear, and then the screen will return to the list screen. Suppose I then go to the main component of the dialog, change the size of the button, and update it. Then, all the settings I had set earlier, such as the toast settings and the transition to the list screen, disappeared and I had to start over.