chore: set displayName for ThemeContext (#9201)

Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com>
This commit is contained in:
Dulmandakh
2021-01-14 19:03:55 +08:00
committed by GitHub
parent b19f76bfff
commit a8b8c27174

View File

@@ -4,4 +4,6 @@ import type { Theme } from '../types';
const ThemeContext = React.createContext<Theme>(DefaultTheme);
ThemeContext.displayName = 'ThemeContext';
export default ThemeContext;