Skip to content

Commit 2c5adaa

Browse files
committed
refactor(cozy-mespapiers-lib): Move all components PlaceholderList
Move all components PlaceholderList on a new folder to improve understanding of the lib
1 parent 3a65dca commit 2c5adaa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/cozy-mespapiers-lib/src/components/Placeholders/PlaceholderListModal.jsx renamed to packages/cozy-mespapiers-lib/src/components/Placeholders/PlaceholderListModal/PlaceholderListModal.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { useI18n } from 'cozy-ui/transpiled/react/I18n'
55

66
import { FixedDialog } from 'cozy-ui/transpiled/react/CozyDialogs'
77

8-
import PlaceholdersList from '../Placeholders/PlaceholdersList'
9-
import { useScannerI18n } from '../Hooks/useScannerI18n'
8+
import PlaceholdersList from '../PlaceholdersList'
9+
import { useScannerI18n } from '../../Hooks/useScannerI18n'
1010

11-
import PlaceholderThemesList from './PlaceholderThemesList'
11+
import PlaceholderThemesList from '../PlaceholderThemesList'
1212

1313
const defaultState = {
1414
onBack: false,

packages/cozy-mespapiers-lib/src/components/Placeholders/PlaceholdersList.spec.jsx renamed to packages/cozy-mespapiers-lib/src/components/Placeholders/PlaceholderListModal/PlaceholdersList.spec.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react'
22
import { fireEvent, render } from '@testing-library/react'
33

4-
import AppLike from '../../../test/components/AppLike'
4+
import AppLike from '../../../../test/components/AppLike'
55
import PlaceholdersList from './PlaceholdersList'
66

77
const fakeQualificationItems = [

0 commit comments

Comments
 (0)