File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 4545const publicConfig = usePublicConfig ();
4646
4747let contentEl: HTMLElement | undefined = $state ();
48- let isCopied = $state (false );
4948let messageWidth: number = $state (0 );
5049let messageInfoWidth: number = $state (0 );
5150
9089);
9190let hasClientThink = $derived (! hasServerReasoning && thinkSegments .length > 1 );
9291
93- $effect (() => {
94- if (isCopied ) {
95- setTimeout (() => {
96- isCopied = false ;
97- }, 1000 );
98- }
99- });
100-
10192let editMode = $derived (editMsdgId === message .id );
10293let editedContent = $derived (message .content );
10394 </script >
210201{/if }
211202{#if ! isLast || ! loading }
212203<CopyToClipBoardBtn
213- onClick ={() => {
214- isCopied = true ;
215- }}
216204classNames =" btn rounded-sm p-1 text-sm text-gray-400 hover:text-gray-500 focus:ring-0 dark:text-gray-400 dark:hover:text-gray-300"
217205value ={message .content }
218206iconClassNames =" text-xs"
You can’t perform that action at this time.
0 commit comments