Skip to content

Commit

Permalink
Merge pull request #628 from smritidoneria/starredmodelfix
Browse files Browse the repository at this point in the history
Starred Model fix
  • Loading branch information
Spiral-Memory authored Sep 27, 2024
2 parents 2d158a9 + a197eb3 commit cbae92a
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 cbae92a

Please sign in to comment.