Skip to content

Commit 793e0e7

Browse files
samsharabarshathakuri
authored andcommitted
fix: move SourceInformationInput to components folder
1 parent 76e75e5 commit 793e0e7

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import NonFieldError from '#components/NonFieldError';
1313
import TextInput from '#components/TextInput';
1414
import useTranslation from '#hooks/useTranslation';
1515

16-
import { type PartialDref } from '../../schema';
16+
import { type PartialDref } from '#views/DrefApplicationForm/schema';
1717
import i18n from './i18n.json';
1818
import styles from './styles.module.css';
1919

src/views/DrefApplicationForm/EventDetail/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import MultiImageWithCaptionInput from '#components/domain/MultiImageWithCaption
2222
import NumberInput from '#components/NumberInput';
2323
import useTranslation from '#hooks/useTranslation';
2424
import { resolveToComponent } from '#utils/translation';
25+
import SourceInformationInput from '#components/domain/SourceInformationInput';
2526

2627
import {
2728
ONSET_SUDDEN,
@@ -31,7 +32,6 @@ import {
3132
} from '../common';
3233
import { type PartialDref } from '../schema';
3334

34-
import SourceInformationInput from './SourceInformationInput';
3535
import i18n from './i18n.json';
3636
import styles from './styles.module.css';
3737

src/views/DrefFinalReportForm/EventDetail/i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
"drefFormPeopleInNeedDescriptionSlowSudden": "People in Need (PIN) are those members whose physical security, basic rights, dignity, living conditions or livelihoods are threatened or have been disrupted, and whose current level of access to basic services, goods and social protection is inadequate to re-establish normal living conditions without additional assistance.",
2828
"drefFormSourceInformationAddButton": "Add New Source Information",
2929
"drefFormSourceInformationTitle": "Source Information",
30-
"drefFormSourceInformationDescription": "Add the links and the name of the sources, the name will be shown in the export, as an hyperlink."
30+
"drefFormSourceInformationDescription": "Add the links and the name of the sources, the name will be shown in the export, as a hyperlink."
3131
}
3232
}

src/views/DrefFinalReportForm/EventDetail/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import Link from '#components/Link';
1717
import useTranslation from '#hooks/useTranslation';
1818
import MultiImageWithCaptionInput from '#components/domain/MultiImageWithCaptionInput';
1919

20-
import SourceInformationInput from '#views/DrefApplicationForm/EventDetail/SourceInformationInput';
20+
import SourceInformationInput from '#components/domain/SourceInformationInput';
2121
import NonFieldError from '#components/NonFieldError';
2222
import Button from '#components/Button';
2323
import {

src/views/DrefOperationalUpdateForm/EventDetail/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import MultiImageWithCaptionInput from '#components/domain/MultiImageWithCaption
2020

2121
import NonFieldError from '#components/NonFieldError';
2222
import Button from '#components/Button';
23-
import SourceInformationInput from '#views/DrefApplicationForm/EventDetail/SourceInformationInput';
23+
import SourceInformationInput from '#components/domain/SourceInformationInput';
2424
import {
2525
TYPE_IMMINENT,
2626
TYPE_ASSESSMENT,

0 commit comments

Comments
 (0)