File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
client/packages/lowcoder/src/comps/comps/chatComp/components/assistant-ui Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 3
3
ThreadListItemPrimitive ,
4
4
ThreadListPrimitive ,
5
5
} from "@assistant-ui/react" ;
6
- import { ArchiveIcon , PlusIcon } from "lucide-react" ;
6
+ import { PlusIcon , Trash2Icon } from "lucide-react" ;
7
7
8
8
import { Button } from "../ui/button" ;
9
9
import { TooltipIconButton } from "./tooltip-icon-button" ;
@@ -38,7 +38,7 @@ const ThreadListItem: FC = () => {
38
38
< ThreadListItemPrimitive . Trigger className = "aui-thread-list-item-trigger" >
39
39
< ThreadListItemTitle />
40
40
</ ThreadListItemPrimitive . Trigger >
41
- < ThreadListItemArchive />
41
+ < ThreadListItemDelete />
42
42
</ ThreadListItemPrimitive . Root >
43
43
) ;
44
44
} ;
@@ -51,16 +51,16 @@ const ThreadListItemTitle: FC = () => {
51
51
) ;
52
52
} ;
53
53
54
- const ThreadListItemArchive : FC = ( ) => {
54
+ const ThreadListItemDelete : FC = ( ) => {
55
55
return (
56
- < ThreadListItemPrimitive . Archive asChild >
56
+ < ThreadListItemPrimitive . Delete asChild >
57
57
< TooltipIconButton
58
- className = "aui-thread-list-item-archive "
58
+ className = "aui-thread-list-item-delete "
59
59
variant = "ghost"
60
- tooltip = "Archive thread"
60
+ tooltip = "Delete thread"
61
61
>
62
- < ArchiveIcon />
62
+ < Trash2Icon />
63
63
</ TooltipIconButton >
64
- </ ThreadListItemPrimitive . Archive >
64
+ </ ThreadListItemPrimitive . Delete >
65
65
) ;
66
66
} ;
You can’t perform that action at this time.
0 commit comments