File tree Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ import { Tabs } from "@kleros/ui-components-library";
9
9
import { landscapeStyle } from "styles/landscapeStyle" ;
10
10
import { responsiveSize } from "styles/responsiveSize" ;
11
11
12
- import { Overlay } from "components/Overlay" ;
13
-
14
12
import { ISettings } from "../../index" ;
15
13
16
14
import General from "./General" ;
@@ -27,7 +25,6 @@ const Container = styled.div`
27
25
left : 50% ;
28
26
transform : translateX (-50% );
29
27
z-index : 1 ;
30
- background-color : ${ ( { theme } ) => theme . whiteBackground } ;
31
28
border : 1px solid ${ ( { theme } ) => theme . stroke } ;
32
29
border-radius : 3px ;
33
30
overflow-y : auto;
@@ -85,20 +82,17 @@ const Settings: React.FC<ISettings> = ({ toggleIsSettingsOpen, initialTab }) =>
85
82
} ) ;
86
83
87
84
return (
88
- < >
89
- < Overlay />
90
- < Container ref = { containerRef } >
91
- < StyledSettingsText > Settings</ StyledSettingsText >
92
- < StyledTabs
93
- currentValue = { currentTab }
94
- items = { TABS }
95
- callback = { ( n : number ) => {
96
- setCurrentTab ( n ) ;
97
- } }
98
- />
99
- { currentTab === 0 ? < General /> : < NotificationSettings toggleIsSettingsOpen = { toggleIsSettingsOpen } /> }
100
- </ Container >
101
- </ >
85
+ < Container ref = { containerRef } >
86
+ < StyledSettingsText > Settings</ StyledSettingsText >
87
+ < StyledTabs
88
+ currentValue = { currentTab }
89
+ items = { TABS }
90
+ callback = { ( n : number ) => {
91
+ setCurrentTab ( n ) ;
92
+ } }
93
+ />
94
+ { currentTab === 0 ? < General /> : < NotificationSettings toggleIsSettingsOpen = { toggleIsSettingsOpen } /> }
95
+ </ Container >
102
96
) ;
103
97
} ;
104
98
You can’t perform that action at this time.
0 commit comments