Clear screen validation errors when changing screen

This commit is contained in:
Andrew Kingston 2022-05-13 10:14:52 +01:00
parent 22f4c6e98b
commit b14440065c
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
<script>
import { selectedScreen } from "builderStore"
import ScreenListPanel from "./_components/ScreenListPanel.svelte"
import ScreenSettingsPanel from "./_components/ScreenSettingsPanel.svelte"
</script>
<ScreenListPanel />
<ScreenSettingsPanel />
{#key $selectedScreen?._id}
<ScreenSettingsPanel />
{/key}