Created
June 4, 2021 18:35
-
-
Save michael-mckenna/e4795abe3289c4c372ac50fedd8d1ce3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const defaultChannels: Channel[] = [ | |
{ name: "Rocket League", id: 1 }, | |
{ name: "Aficionados", id: 2 }, | |
{ name: "Work", id: 3 } | |
] | |
export interface ChannelsState { | |
channels: Channel[]; | |
selectedChannelId: ChannelId | null; | |
} | |
export const initialChannelsState: ChannelsState = { | |
channels: defaultChannels, | |
selectedChannelId: 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment