-
-
Save monokrome/e49cf54bef93de8a9a6718b7521dedc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> const { StyleSheet, css } = require('aphrodite'); | |
undefined | |
> const sheet = StyleSheet.create({ button: { backgroundColor: '#F90' }}) | |
undefined | |
> css(sheet.button, sheet) | |
TypeError: Cannot convert undefined or null to object | |
at Function.keys (<anonymous>) | |
at OrderedElements.addStyleType (/Users/bailey_stoner/.local/share/go/src/github.com/monokrome/sandbox/node_modules/aphrodite/lib/chunk-ff1dea3c.js:271:39) | |
at generateCSS (/Users/bailey_stoner/.local/share/go/src/github.com/monokrome/sandbox/node_modules/aphrodite/lib/chunk-ff1dea3c.js:440:16) | |
at injectStyleOnce (/Users/bailey_stoner/.local/share/go/src/github.com/monokrome/sandbox/node_modules/aphrodite/lib/chunk-ff1dea3c.js:841:21) | |
at injectAndGetClassName (/Users/bailey_stoner/.local/share/go/src/github.com/monokrome/sandbox/node_modules/aphrodite/lib/chunk-ff1dea3c.js:947:5) | |
at css (/Users/bailey_stoner/.local/share/go/src/github.com/monokrome/sandbox/node_modules/aphrodite/lib/chunk-ff1dea3c.js:1158:24) | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment