Skip to content

Commit

Permalink
replicate react sources
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 6, 2019
1 parent d7d41ae commit ecc4179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/material-ui-styles/src/ThemeProvider/nested.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const hasSymbol = typeof Symbol === 'function';
const hasSymbol = typeof Symbol === 'function' && Symbol.for;

export default (hasSymbol && Symbol.for ? Symbol.for('mui.nested') : '__THEME_NESTED__');
export default (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');

0 comments on commit ecc4179

Please sign in to comment.