Skip to content

Commit 7886688

Browse files
committed
deps: update module imports for emotion styled
1 parent 54fa6af commit 7886688

File tree

88 files changed

+89
-92
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+89
-92
lines changed

app/src/components/NodeStatus.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import React from 'react';
22
import { observer } from 'mobx-react-lite';
3+
import styled from '@emotion/styled';
34
import { usePrefixedTranslation } from 'hooks';
45
import { useStore } from 'store';
56
import { HeaderFour, Jumbo, Small } from 'components/base';
67
import { Bitcoin, Bolt } from './base';
78
import Tip from './common/Tip';
89
import Unit from './common/Unit';
9-
import { styled } from './theme';
1010

1111
const Styled = {
1212
Wrapper: styled.div`

app/src/components/auth/AuthPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React, { useState } from 'react';
22
import { observer } from 'mobx-react-lite';
3+
import styled from '@emotion/styled';
34
import { ReactComponent as LogoImage } from 'assets/images/logo.svg';
45
import { usePrefixedTranslation } from 'hooks';
56
import { useStore } from 'store';
67
import { Background, Button, HeaderOne, Input } from 'components/base';
7-
import { styled } from 'components/theme';
88

99
const Styled = {
1010
Wrapper: styled.div`

app/src/components/base/icons.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
import styled from '@emotion/styled';
12
import { ReactComponent as AlertTriangleIcon } from 'assets/icons/alert-triangle.svg';
23
import { ReactComponent as ArrowDownCircleIcon } from 'assets/icons/arrow-down-circle.svg';
34
import { ReactComponent as ArrowDownIcon } from 'assets/icons/arrow-down.svg';
45
import { ReactComponent as ArrowLeftIcon } from 'assets/icons/arrow-left.svg';
56
import { ReactComponent as ArrowRightIcon } from 'assets/icons/arrow-right.svg';
67
import { ReactComponent as ArrowUpCircleIcon } from 'assets/icons/arrow-up-circle.svg';
78
import { ReactComponent as ArrowUpIcon } from 'assets/icons/arrow-up.svg';
9+
import { ReactComponent as BarChartIcon } from 'assets/icons/bar-chart.svg';
810
import { ReactComponent as BitcoinIcon } from 'assets/icons/bitcoin.svg';
911
import { ReactComponent as BoltIcon } from 'assets/icons/bolt.svg';
1012
import { ReactComponent as CheckIcon } from 'assets/icons/check.svg';
@@ -20,16 +22,14 @@ import { ReactComponent as CopyIcon } from 'assets/icons/copy.svg';
2022
import { ReactComponent as DotIcon } from 'assets/icons/dot.svg';
2123
import { ReactComponent as DownloadIcon } from 'assets/icons/download.svg';
2224
import { ReactComponent as HelpCircleIcon } from 'assets/icons/help-circle.svg';
25+
import { ReactComponent as ListIcon } from 'assets/icons/list.svg';
2326
import { ReactComponent as MaximizeIcon } from 'assets/icons/maximize.svg';
2427
import { ReactComponent as MenuIcon } from 'assets/icons/menu.svg';
2528
import { ReactComponent as MinimizeIcon } from 'assets/icons/minimize.svg';
2629
import { ReactComponent as RefreshIcon } from 'assets/icons/refresh-cw.svg';
2730
import { ReactComponent as SettingsIcon } from 'assets/icons/settings.svg';
2831
import { ReactComponent as CancelIcon } from 'assets/icons/slash.svg';
2932
import { ReactComponent as UserPlusIcon } from 'assets/icons/user-plus.svg';
30-
import { ReactComponent as BarChartIcon } from 'assets/icons/bar-chart.svg';
31-
import { ReactComponent as ListIcon } from 'assets/icons/list.svg';
32-
import { styled } from 'components/theme';
3333

3434
interface IconProps {
3535
size?: 'x-small' | 'small' | 'medium' | 'large';

app/src/components/base/shared.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import styled from '@emotion/styled';
12
import Chevrons from 'assets/icons/chevrons.svg';
2-
import { styled } from 'components/theme';
33

44
//
55
// Misc

app/src/components/base/text.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { styled } from 'components/theme';
1+
import styled from '@emotion/styled';
22

33
interface HeaderProps {
44
marginless?: boolean;

app/src/components/common/AlertContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { toast, ToastContainer } from 'react-toastify';
33
import { values } from 'mobx';
44
import { observer } from 'mobx-react-lite';
55
import { Alert } from 'types/state';
6+
import styled from '@emotion/styled';
67
import { useStore } from 'store';
7-
import { styled } from 'components/theme';
88
import { Close } from '../base';
99

1010
const Styled = {

app/src/components/common/BadgeList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useCallback } from 'react';
2+
import styled from '@emotion/styled';
23
import { Badge } from 'components/base';
3-
import { styled } from 'components/theme';
44

55
const Styled = {
66
Wrapper: styled.div<{ flex?: boolean }>`

app/src/components/common/Checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useCallback } from 'react';
2-
import { styled } from 'components/theme';
2+
import styled from '@emotion/styled';
33
import { Check } from '../base';
44

55
const Styled = {

app/src/components/common/ExternalLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { styled } from 'components/theme';
2+
import styled from '@emotion/styled';
33

44
const Styled = {
55
Wrapper: styled.a`

app/src/components/common/FormField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { ReactNode } from 'react';
2+
import styled from '@emotion/styled';
23
import { HeaderFour, HelpCircle } from 'components/base';
3-
import { styled } from 'components/theme';
44
import Tip from './Tip';
55

66
const Styled = {

0 commit comments

Comments
 (0)