Skip to content

Commit

Permalink
refactor: unpack single item
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 authored and stevejpurves committed Sep 5, 2024
1 parent b4f0726 commit d7adea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/providers/src/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ export function useNavOpen(): [boolean, (open: boolean) => void] {
}

export function useIsWide(): boolean {
const [state, _] = useContext(UiContext) ?? [];
const [state] = useContext(UiContext) ?? [];
return state?.isWide ?? false;
}

0 comments on commit d7adea6

Please sign in to comment.