fix set chat example

This commit is contained in:
2023-07-12 18:24:33 +08:00
parent d2f21f44bb
commit 9a132b007e

View File

@@ -157,16 +157,13 @@ export default function Message(props: Props) {
</div>
</div>
)}
<span>
<label
className="dark:text-white"
<span
onClick={(event: any) => {
chat.example = !chat.example;
setChatStore({ ...chatStore });
}}
>
example
</label>
<label className="dark:text-white">example</label>
<input type="checkbox" checked={chat.example} />
</span>
</div>