diff --git a/examples/server/index.html.cpp b/examples/server/index.html.cpp index 4c5183edf..3134f7923 100644 --- a/examples/server/index.html.cpp +++ b/examples/server/index.html.cpp @@ -167,8 +167,8 @@ R"htmlraw(
message.value = e.target.value} autofocus placeholder="Chat here..."/> - - + +
` } @@ -185,7 +185,7 @@ R"htmlraw( }, [messages]) const chatLine = ([user, msg]) => { - return html`

${template(user, {})}: ${template(msg, {})}

` + return html`

${template(user)}: ${template(msg)}

` }; return html` @@ -251,15 +251,15 @@ R"htmlraw(
<${chatStarted.value ? ChatLog : ConfigForm } /> -
+
<${MessageInput} />
+ - diff --git a/examples/server/public/index.html b/examples/server/public/index.html index 2a21cf62b..e3d3473c2 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -166,8 +166,8 @@
message.value = e.target.value} autofocus placeholder="Chat here..."/> - - + +
` } @@ -184,7 +184,7 @@ }, [messages]) const chatLine = ([user, msg]) => { - return html`

${template(user, {})}: ${template(msg, {})}

` + return html`

${template(user)}: ${template(msg)}

` }; return html` @@ -250,15 +250,15 @@
<${chatStarted.value ? ChatLog : ConfigForm } /> -
+
<${MessageInput} />
+ -