diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-21 08:03:06 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-12-21 08:03:06 +0800 |
commit | a67b34700e48cdf9a54c601af4ec9b9112fe4803 (patch) | |
tree | bb418b33a8e94fb0b7af3fddf20046cec4d7d22b /packages/website/ts/components/icon.tsx | |
parent | abdf91c691b924b75d71db49fba296da9c8ddcac (diff) | |
download | dexon-0x-contracts-a67b34700e48cdf9a54c601af4ec9b9112fe4803.tar dexon-0x-contracts-a67b34700e48cdf9a54c601af4ec9b9112fe4803.tar.gz dexon-0x-contracts-a67b34700e48cdf9a54c601af4ec9b9112fe4803.tar.bz2 dexon-0x-contracts-a67b34700e48cdf9a54c601af4ec9b9112fe4803.tar.lz dexon-0x-contracts-a67b34700e48cdf9a54c601af4ec9b9112fe4803.tar.xz dexon-0x-contracts-a67b34700e48cdf9a54c601af4ec9b9112fe4803.tar.zst dexon-0x-contracts-a67b34700e48cdf9a54c601af4ec9b9112fe4803.zip |
feat: remove @next directory from all imports
Diffstat (limited to 'packages/website/ts/components/icon.tsx')
-rw-r--r-- | packages/website/ts/components/icon.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/components/icon.tsx b/packages/website/ts/components/icon.tsx index fc9d488f9..165e999b9 100644 --- a/packages/website/ts/components/icon.tsx +++ b/packages/website/ts/components/icon.tsx @@ -2,8 +2,8 @@ import * as React from 'react'; import Loadable from 'react-loadable'; import styled from 'styled-components'; -import { Paragraph } from 'ts/@next/components/text'; -import { getCSSPadding, PaddingInterface } from 'ts/@next/constants/utilities'; +import { Paragraph } from 'ts/components/text'; +import { getCSSPadding, PaddingInterface } from 'ts/constants/utilities'; interface IconProps extends PaddingInterface { name?: string; @@ -14,7 +14,7 @@ interface IconProps extends PaddingInterface { export const Icon: React.FunctionComponent<IconProps> = (props: IconProps) => { if (props.name && !props.component) { const IconSVG = Loadable({ - loader: async () => import(/* webpackChunkName: "icon" */ `ts/@next/icons/illustrations/${props.name}.svg`), + loader: async () => import(/* webpackChunkName: "icon" */ `ts/icons/illustrations/${props.name}.svg`), loading: () => <Paragraph>Loading</Paragraph>, }); |