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>
</div> </div>
)} )}
<span> <span
<label
className="dark:text-white"
onClick={(event: any) => { onClick={(event: any) => {
chat.example = !chat.example; chat.example = !chat.example;
setChatStore({ ...chatStore }); setChatStore({ ...chatStore });
}} }}
> >
example <label className="dark:text-white">example</label>
</label>
<input type="checkbox" checked={chat.example} /> <input type="checkbox" checked={chat.example} />
</span> </span>
</div> </div>