File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,11 @@ const PageWrapper = props => (
43
43
44
44
const ThemeWrapper = connect ( store => ( {
45
45
theme : store . preference . theme ,
46
- } ) ) ( props => {
47
- console . log ( props )
48
- return (
49
- < div id = "theme-wrap" className = { `theme-${ props . theme } ` } >
50
- < SideBar />
51
- < PageWrapper />
52
- </ div >
53
- )
54
- } )
46
+ } ) ) ( props => (
47
+ < div id = "theme-wrap" className = { `theme-${ props . theme } ` } >
48
+ < SideBar />
49
+ < PageWrapper />
50
+ </ div >
51
+ ) )
55
52
56
53
export default App ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const SideBar = props => {
47
47
< label >
48
48
< span > Color Theme </ span >
49
49
< select value = { props . theme } onChange = { setThemeHandler } >
50
- < option value = "system" > system </ option >
50
+ < option value = "system" > System </ option >
51
51
< option value = "light" > Light</ option >
52
52
< option value = "dark" > Dark</ option >
53
53
< option value = "dark-blue" > Dark Blue</ option >
You can’t perform that action at this time.
0 commit comments