Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tkow committed Oct 30, 2022
1 parent a1c14a6 commit 9d2c6c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/internals/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ export function createStitches(config = {}) {
styleSheetKey = `${prop}_${propValue['@initial']}`;
}

if (breakpoint) {
if (propValue[breakpoint] === undefined) return;
if (breakpoint && propValue[breakpoint] !== undefined) {
const val = config.media[mediaKey];
if (val === true) {
styleSheetKey = `${prop}_${propValue[breakpoint]}`;
Expand Down

0 comments on commit 9d2c6c8

Please sign in to comment.