updated image picker
This commit is contained in:
@@ -9,3 +9,6 @@ export const sortedChannelMessagesAtom = atom((get) => {
|
||||
const messages = get(channelMessagesAtom);
|
||||
return messages.sort((x: { created_at: number }, y: { created_at: number }) => x.created_at - y.created_at);
|
||||
});
|
||||
|
||||
// channel message content
|
||||
export const channelContentAtom = atomWithReset('');
|
||||
|
||||
@@ -6,3 +6,6 @@ export const sortedChatMessagesAtom = atom((get) => {
|
||||
const messages = get(chatMessagesAtom);
|
||||
return messages.sort((x: { created_at: number }, y: { created_at: number }) => x.created_at - y.created_at);
|
||||
});
|
||||
|
||||
// chat content
|
||||
export const chatContentAtom = atomWithReset('');
|
||||
|
||||
Reference in New Issue
Block a user