feat: proper chat message styling without rerendering

This commit is contained in:
Alexander Daichendt 2025-02-12 12:09:48 +01:00
parent 7150ca87c3
commit 748e154ec4
7 changed files with 74 additions and 25 deletions

View file

@ -34,3 +34,8 @@ export const useChatState = () => {
}
return context;
};
export const useCurrentUser = () => {
const { state } = useChatState();
return state.currentUser;
};