Custom components deleted after pressing Clear button

Yo I just accidentally pressed the “Clear” button on the host app field (thought it said cancel) and it gave me a warning that my custom components no longer exist and I had to delete or replace them. Seemingly no way to reconfigure the host app to get back the components.
That’s pretty bad.

You can go back to the dashboard, click on the three dots next to your project and configure from there

Luckily it was only one component so it was easily fixed for me. However I think it’d be good to have an “are you sure?” modal for it… or at least some description on how to fix it from the dashboard?