diff --git a/src/lib/components/refactor/ComposerCharly.svelte b/src/lib/components/refactor/ComposerCharly.svelte index 6739bca..ae0b6de 100644 --- a/src/lib/components/refactor/ComposerCharly.svelte +++ b/src/lib/components/refactor/ComposerCharly.svelte @@ -1,23 +1,17 @@ -
+

My ID is: {me.id}

my state is {$data.state}

I am charly

- my data.context prop: {JSON.stringify($data.context)} + my data.context.hello prop: {JSON.stringify($data.context.hello)}
- - +
+ {#if $data.context.messages} + {#each $data.context.messages as message} +

{message.text}

+ {/each} + {/if} +
diff --git a/src/lib/components/refactor/ComposerWrap.svelte b/src/lib/components/refactor/ComposerWrap.svelte index 7ddcd06..7acf2d0 100644 --- a/src/lib/components/refactor/ComposerWrap.svelte +++ b/src/lib/components/refactor/ComposerWrap.svelte @@ -1,8 +1,8 @@