fix: remove unused imports and parameter in thread-sidebar
This commit is contained in:
parent
41bd76c45b
commit
c3370707af
@ -1,11 +1,9 @@
|
||||
import { useMemo, useState } from "react";
|
||||
import {
|
||||
MessageSquare,
|
||||
CheckCircle2,
|
||||
Archive,
|
||||
Lock,
|
||||
X,
|
||||
Flame,
|
||||
ArrowRight,
|
||||
CircleDot,
|
||||
} from "lucide-react";
|
||||
@ -16,6 +14,7 @@ export type Thread = {
|
||||
id: string;
|
||||
room: string;
|
||||
seq: number;
|
||||
parent_seq: number;
|
||||
title: string;
|
||||
created_by: { id: string; display_name: string; username: string };
|
||||
archived: boolean;
|
||||
@ -182,7 +181,7 @@ export default function ThreadSidebar({
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
{filtered.map((thread, idx) => {
|
||||
{filtered.map((thread) => {
|
||||
const creatorName =
|
||||
thread.created_by.display_name || thread.created_by.username;
|
||||
const initials = creatorName
|
||||
|
||||
Loading…
Reference in New Issue
Block a user