MCPcopy Create free account
hub / github.com/GCWing/BitFun / useLayout

Function useLayout

src/web-ui/src/app/hooks/useApp.ts:253–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251
252// Layout helper hook
253export const useLayout = () => {
254 const { state, toggleLeftPanel, toggleRightPanel, toggleBottomTerminalPanel, toggleChatPanel, switchLeftPanelTab, updateLeftPanelWidth } = useApp();
255
256 return {
257 layout: state.layout,
258 toggleLeftPanel,
259 toggleRightPanel,
260 toggleBottomTerminalPanel,
261 toggleChatPanel,
262 switchLeftPanelTab,
263 updateLeftPanelWidth
264 };
265};
266
267// Chat helper hook
268export const useChat = () => {

Callers

nothing calls this directly

Calls 1

useAppFunction · 0.85

Tested by

no test coverage detected