diff --git a/web-app/src/containers/ThreadList.tsx b/web-app/src/containers/ThreadList.tsx
index a8dadbb62..734aec710 100644
--- a/web-app/src/containers/ThreadList.tsx
+++ b/web-app/src/containers/ThreadList.tsx
@@ -262,32 +262,29 @@ const SortableItem = memo(
))
)}
- {thread.metadata?.project && (
- <>
-
- {
- e.stopPropagation()
- // Remove project from metadata
- const projectName = thread.metadata?.project?.name
- updateThread(thread.id, {
- metadata: {
- ...thread.metadata,
- project: undefined,
- },
- })
- toast.success(
- `Thread removed from "${projectName}" successfully`
- )
- }}
- >
-
- Remove from project
-
- >
- )}
+ {thread.metadata?.project && (
+ {
+ e.stopPropagation()
+ // Remove project from metadata
+ const projectName = thread.metadata?.project?.name
+ updateThread(thread.id, {
+ metadata: {
+ ...thread.metadata,
+ project: undefined,
+ },
+ })
+ toast.success(
+ `Thread removed from "${projectName}" successfully`
+ )
+ }}
+ >
+
+ Remove
+
+ )}