mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-13 20:31:48 +00:00
assign displayName to contexts
This commit is contained in:
parent
09ecae54e2
commit
beb9c57e33
2 changed files with 11 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
export default React.createContext(false);
|
||||
const FocusableContext = React.createContext(false);
|
||||
|
||||
FocusableContext.displayName = 'FocusableContext';
|
||||
|
||||
export default FocusableContext;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
import React from 'react';
|
||||
|
||||
export default React.createContext(null);
|
||||
const ModalsContainerContext = React.createContext(null);
|
||||
|
||||
ModalsContainerContext.displayName = 'ModalsContainerContext';
|
||||
|
||||
export default ModalsContainerContext;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue