Skip to content

Commit bc44377

Browse files
committed
🔨 Switch CLIInstructions to use useOvermind
1 parent 4534009 commit bc44377

File tree

1 file changed

+8
-6
lines changed
  • packages/app/src/app/pages/CliInstructions

1 file changed

+8
-6
lines changed

‎packages/app/src/app/pages/CliInstructions/index.tsx‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
import React, { useEffect } from 'react';
21
import MaxWidth from '@codesandbox/common/lib/components/flex/MaxWidth';
32
import Margin from '@codesandbox/common/lib/components/spacing/Margin';
4-
import { useOvermind } from 'app/overmind';
5-
import { Title } from 'app/components/Title';
3+
import React, { FunctionComponent, useEffect } from 'react';
4+
65
import { SubTitle } from 'app/components/SubTitle';
6+
import { Title } from 'app/components/Title';
7+
import { useOvermind } from 'app/overmind';
78
import { Navigation } from 'app/pages/common/Navigation';
8-
import { Container, Content, Code } from './elements';
99

10-
export const CLIInstructions: React.FC = () => {
10+
import { Code, Container, Content } from './elements';
11+
12+
export const CLIInstructions: FunctionComponent = () => {
1113
const {
1214
actions: { cliInstructionsMounted },
1315
} = useOvermind();
@@ -18,7 +20,7 @@ export const CLIInstructions: React.FC = () => {
1820

1921
return (
2022
<MaxWidth>
21-
<Margin vertical={1.5} horizontal={1.5}>
23+
<Margin horizontal={1.5} vertical={1.5}>
2224
<Container>
2325
<Navigation title="CLI Import" />
2426

0 commit comments

Comments
 (0)