Skip to content

Commit

Permalink
Starred Model fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smritidoneria authored and Spiral-Memory committed Sep 25, 2024
1 parent 39b6a0f commit 3990f1d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ export const MessageAggregator = ({
const styles = getMessageAggregatorStyles(theme);
const setExclusiveState = useSetExclusiveState();
const messages = useMessageStore((state) => state.messages);
const threadMessages=useMessageStore((state)=>state.threadMessages)|| [];
const allMessages=[...messages,...threadMessages];
const [messageRendered, setMessageRendered] = useState(false);
const { loading, messageList } = useSetMessageList(
searchFiltered || messages,
searchFiltered || allMessages,
shouldRender
);

Expand Down

0 comments on commit 3990f1d

Please sign in to comment.