mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
feat(web): improve comment panel and trigger UI
This commit is contained in:
parent
d99722cfdc
commit
f008acecfc
8 changed files with 56 additions and 24 deletions
|
|
@ -18,7 +18,7 @@ import { transformComment, transformMember } from "./utils";
|
|||
export function CommentPanelContainer({
|
||||
messageId,
|
||||
isOpen,
|
||||
maxHeight = 400,
|
||||
maxHeight,
|
||||
}: CommentPanelContainerProps) {
|
||||
const { data: commentsData, isLoading: isCommentsLoading } = useComments({
|
||||
messageId,
|
||||
|
|
@ -70,7 +70,6 @@ export function CommentPanelContainer({
|
|||
|
||||
return (
|
||||
<CommentPanel
|
||||
messageId={messageId}
|
||||
threads={commentThreads}
|
||||
members={members}
|
||||
membersLoading={isMembersLoading}
|
||||
|
|
@ -84,4 +83,3 @@ export function CommentPanelContainer({
|
|||
/>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue