mirror of
https://github.com/suitenumerique/meet.git
synced 2026-07-28 12:49:34 +00:00
e7e7bb0d09
Based on Florian's feedbacks, this is mandatory as the project is getting attention. Bad code, needs a refactor.
15 lines
306 B
TypeScript
15 lines
306 B
TypeScript
import { proxy } from 'valtio'
|
|
import { PanelId } from '@/features/rooms/livekit/hooks/useSidePanel'
|
|
|
|
type State = {
|
|
showHeader: boolean
|
|
showFooter: boolean
|
|
activePanelId: PanelId | null
|
|
}
|
|
|
|
export const layoutStore = proxy<State>({
|
|
showHeader: false,
|
|
showFooter: false,
|
|
activePanelId: null,
|
|
})
|