Skip to content

Commit 3b9aef1

Browse files
committed
Fix linting
1 parent de17ad3 commit 3b9aef1

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

ui/pages/confirmations/components/modals/simulation-settings-modal/simulation-settings-modal.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,21 @@ import {
3535
import { selectEnableEnforcedSimulations } from '../../../selectors';
3636
import { 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+
3853
export 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-
};

0 commit comments

Comments
 (0)