MCPcopy Create free account
hub / github.com/dailydotdev/apps / useSidebarCompact

Function useSidebarCompact

packages/shared/src/hooks/useSidebarCompact.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8// from this and MainLayout pads the content to match, so the two disagreeing
9// would leave the content overlapping the rail or short of it.
10export const useSidebarCompact = (): ReturnType<
11 typeof useSettingsBooleanFlag
12> => useSettingsBooleanFlag('sidebarCompact', true);

Callers 4

MainLayoutComponentFunction · 0.90
SidebarDensitySectionFunction · 0.90
SidebarDesktopV2Function · 0.90
SidebarCompactMockFunction · 0.90

Calls 1

useSettingsBooleanFlagFunction · 0.90

Tested by 1

SidebarCompactMockFunction · 0.72