Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit72c14ad

Browse files
committed
refactor(module-resolver): replace unnecessary path when import
1 parent70435b6 commit72c14ad

File tree

388 files changed

+701
-782
lines changed

Some content is hidden

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

388 files changed

+701
-782
lines changed

‎components/AdderCell/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
importReactfrom'react'
88
importPropTypesfrom'prop-types'
99

10-
import{ICON_CMD}from'../../config'
10+
import{ICON_CMD}from'config'
1111

12-
import{makeDebugger}from'../../utils'
12+
import{makeDebugger}from'utils'
1313
import{AddWrapper,AddIcon,AddText}from'./styles'
1414

1515
/* eslint-disable no-unused-vars */

‎components/AdderCell/styles/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
importstyledfrom'styled-components'
22

3+
import{animate}from'utils'
34
importImgfrom'../../Img'
4-
import{animate}from'../../../utils'
55

66
exportconstAddWrapper=styled.div`
77
display: flex;

‎components/AvatarsRow/index.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ import PropTypes from 'prop-types'
99
importRfrom'ramda'
1010
import{Tooltip}from'antd'
1111

12-
import{ATATARS_LIST_LENGTH}from'../../config/general'
12+
import{ATATARS_LIST_LENGTH}from'config/general'
1313

14+
import{makeDebugger,prettyNum}from'utils'
1415
import{Avatars,AvatarsItem,AvatarsImg,AvatarsMore}from'./styles'
1516

16-
import{makeDebugger,prettyNum}from'../../utils'
17-
1817
/* eslint-disable no-unused-vars */
1918
constdebug=makeDebugger('c:AvatarsRow:index')
2019
/* eslint-enable no-unused-vars */

‎components/AvatarsRow/styles/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
importstyledfrom'styled-components'
22

3-
import{theme,cs}from'../../../utils'
3+
import{theme,cs}from'utils'
44

55
exportconstAvatars=styled.ul`
66
${cs.flex()};

‎components/BannerCountBrief/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
importReactfrom'react'
88
importPropTypesfrom'prop-types'
99

10-
import{makeDebugger,toPercentNum}from'../../utils'
10+
import{makeDebugger,toPercentNum}from'utils'
1111

1212
import{
1313
Result,

‎components/BaseStyled/index.js‎

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

44
exportconstCenter=styled.div`
55
/* display: flex;*/

‎components/CategoriesCell/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ import PropTypes from 'prop-types'
99
importRfrom'ramda'
1010
import{Icon}from'antd'
1111

12-
import{ICON_CMD}from'../../config'
12+
import{ICON_CMD}from'config'
1313

14+
import{uid,Trans}from'utils'
1415
importAdderCellfrom'../AdderCell'
1516

1617
import{
@@ -21,7 +22,6 @@ import {
2122
AddIcon,
2223
}from'./styles'
2324

24-
import{uid,Trans}from'../../utils'
2525
// import { inject, observer } from 'mobx-react'
2626
// import Link from 'next/link'
2727

‎components/CategoriesCell/styles/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
importstyledfrom'styled-components'
22

3+
import{animate}from'utils'
34
importImgfrom'../../Img'
4-
import{animate}from'../../../utils'
55

66
exportconstUnsetText=styled.div`
77
color: tomato;

‎components/ColorCell/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
importReactfrom'react'
88
importPropTypesfrom'prop-types'
99

10-
import{makeDebugger}from'../../utils'
10+
import{makeDebugger}from'utils'
1111

1212
import{ColorCell,ColorDot/* ColorTitle */}from'./styles'
1313
/* eslint-disable no-unused-vars */

‎components/CommunityCell/CommunitiesLogoList.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
importReactfrom'react'
22

3-
// import { ICON_CMD } from '../../config'
3+
// import { ICON_CMD } from 'config'
4+
import{uid}from'utils'
45
import{Wrapper,CommunityLogo}from'./styles/communities_logo_list'
56

6-
import{uid}from'../../utils'
7-
87
consttooltipOffset=JSON.stringify({top:1})
98
constCommunitiesLogoList=({ array})=>(
109
<Wrapper>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp