refactor save

This commit is contained in:
Samuel Andert
2023-08-04 18:41:58 +02:00
parent 00cea8429c
commit aced9fca2b
5 changed files with 13 additions and 10 deletions

View File

@ -15,10 +15,10 @@
}
</script>
<div class="p-2 border-2 border-blue-500">
<div class="p-8 border-2 border-blue-500">
<p>My ID is: {me.id}</p>
I am the parent, this is my state: {$data.state}
My state is: {$data.state}
<div
class="p-2 border-2"
style="background-color: {$data.state}; border-radius: 50%; width: 50px; height: 50px;"