From 9a132b007efbb7f40c92b0c894e5632a819461bb Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Wed, 12 Jul 2023 18:24:33 +0800 Subject: [PATCH] fix set chat example --- src/message.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/message.tsx b/src/message.tsx index c7cc5a0..f608cfc 100644 --- a/src/message.tsx +++ b/src/message.tsx @@ -157,16 +157,13 @@ export default function Message(props: Props) { )} - - + { + chat.example = !chat.example; + setChatStore({ ...chatStore }); + }} + > +