diff --git a/frontend/src/stores.js b/frontend/src/stores.js index d9937b1..06ebe54 100644 --- a/frontend/src/stores.js +++ b/frontend/src/stores.js @@ -34,11 +34,6 @@ class Store { } } -export const selectedChannel = new Store({ id: -1, name: "none", creator_id: -1 }); -export const showSidebar = new Store(false); -export const showChannelView = new Store(true); -export const smallViewport = new Store(false); - class ChannelsStore extends Store { constructor() { super(gateway.channels || []); @@ -290,6 +285,10 @@ class OverlayStore extends Store { } } +export const selectedChannel = new Store({ id: -1, name: "none", creator_id: -1 }); +export const showSidebar = new Store(false); +export const showChannelView = new Store(true); +export const smallViewport = new Store(false); export const channels = new ChannelsStore(); export const gatewayStatus = new GatewayStatusStore(); export const messagesStoreProvider = new MessagesStoreProvider();