useWide
Watches the returned ref's own box and reports whether it is wider than at.
function useWide<T extends HTMLElement = HTMLDivElement>(at = 600)The box decides, not the display: a split half of the inner panel is as narrow as the cover, so an app that branches on useDisplay() gets a two-column layout in a space that cannot hold one. Attach the ref to whatever element the layout actually lives in.
API reference
function useWide<T extends HTMLElement = HTMLDivElement>(at = 600)