This commit is contained in:
2025-05-15 05:20:01 +03:00
parent 623521f3b4
commit 21a05dd202
70 changed files with 4663 additions and 161 deletions

View File

@@ -0,0 +1,14 @@
import { create } from 'zustand'
import type { RecipientChannel } from '~/lib/api/types'
type PrivateChannelsStore = {
channels: RecipientChannel[]
setChannels: (channels: RecipientChannel[]) => void
}
export const usePrivateChannelsStore = create<PrivateChannelsStore>()(
(set, get) => ({
channels: [],
setChannels: (channels: RecipientChannel[]) => set({ channels }),
})
)