Skip to content

Commit

Permalink
fix: add displayName for context (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Sep 9, 2022
1 parent 067fcd7 commit e824581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stylesheet-registry.js
Expand Up @@ -178,6 +178,7 @@ function invariant(condition, message) {
}

export const StyleSheetContext = createContext(null)
StyleSheetContext.displayName = 'StyleSheetContext'

export function createStyleRegistry() {
return new StyleSheetRegistry()
Expand Down

0 comments on commit e824581

Please sign in to comment.