Skip to content

Commit

Permalink
fix(grid): gridCell now correctly uses largeDesktop when desktop is a…
Browse files Browse the repository at this point in the history
…lso provided
  • Loading branch information
mlaursen committed Dec 15, 2020
1 parent 48181b3 commit fd26b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils/src/layout/GridCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ export const GridCell = forwardRef<HTMLDivElement, GridCellProps>(
const media =
(isPhone && phone) ||
(isTablet && tablet) ||
(isDesktop && desktop) ||
(isLargeDesktop && largeDesktop);
(isLargeDesktop && largeDesktop) ||
(isDesktop && desktop);

if (media) {
({
Expand Down

0 comments on commit fd26b8b

Please sign in to comment.