Skip to content

Commit

Permalink
fix: usePreferredColorScheme not returning anything
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Oct 4, 2019
1 parent aca8570 commit d5ce518
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PreferredColorScheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ export function usePreferredColorScheme() {
themeMedia.removeEventListener('change', handler);
});
});

return value;
}

0 comments on commit d5ce518

Please sign in to comment.