File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
ui/pages/confirmations/components/modals/simulation-settings-modal Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,21 @@ import {
3535import { selectEnableEnforcedSimulations } from '../../../selectors' ;
3636import { ConfirmMetamaskState } from '../../../types/confirm' ;
3737
38+ const Section = ( { children } : { children : React . ReactNode | string } ) => {
39+ return (
40+ < Box
41+ display = { Display . Flex }
42+ flexDirection = { FlexDirection . Column }
43+ backgroundColor = { BackgroundColor . backgroundAlternative }
44+ borderRadius = { BorderRadius . MD }
45+ padding = { 2 }
46+ gap = { 2 }
47+ >
48+ { children }
49+ </ Box >
50+ ) ;
51+ } ;
52+
3853export const SimulationSettingsModal = ( {
3954 onClose,
4055} : {
@@ -146,18 +161,3 @@ export const SimulationSettingsModal = ({
146161 </ Modal >
147162 ) ;
148163} ;
149-
150- const Section = ( { children } : { children : React . ReactNode | string } ) => {
151- return (
152- < Box
153- display = { Display . Flex }
154- flexDirection = { FlexDirection . Column }
155- backgroundColor = { BackgroundColor . backgroundAlternative }
156- borderRadius = { BorderRadius . MD }
157- padding = { 2 }
158- gap = { 2 }
159- >
160- { children }
161- </ Box >
162- ) ;
163- } ;
You can’t perform that action at this time.
0 commit comments