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";
99import { landscapeStyle } from "styles/landscapeStyle" ;
1010import { responsiveSize } from "styles/responsiveSize" ;
1111
12- import { Overlay } from "components/Overlay" ;
13-
1412import { ISettings } from "../../index" ;
1513
1614import General from "./General" ;
@@ -27,7 +25,6 @@ const Container = styled.div`
2725 left : 50% ;
2826 transform : translateX (-50% );
2927 z-index : 1 ;
30- background-color : ${ ( { theme } ) => theme . whiteBackground } ;
3128 border : 1px solid ${ ( { theme } ) => theme . stroke } ;
3229 border-radius : 3px ;
3330 overflow-y : auto;
@@ -85,20 +82,17 @@ const Settings: React.FC<ISettings> = ({ toggleIsSettingsOpen, initialTab }) =>
8582 } ) ;
8683
8784 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 >
10296 ) ;
10397} ;
10498
You can’t perform that action at this time.
0 commit comments