Skip to content

Commit 438f229

Browse files
chore: improve code readability
1 parent 07e33b7 commit 438f229

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

i18n/en.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ msgstr ""
55
"Content-Type: text/plain; charset=utf-8\n"
66
"Content-Transfer-Encoding: 8bit\n"
77
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
8-
"POT-Creation-Date: 2025-12-08T22:18:04.114Z\n"
9-
"PO-Revision-Date: 2025-12-08T22:18:04.114Z\n"
8+
"POT-Creation-Date: 2025-12-11T07:56:27.475Z\n"
9+
"PO-Revision-Date: 2025-12-11T07:56:27.475Z\n"
1010

1111
msgid "Choose one or more dates..."
1212
msgstr "Choose one or more dates..."

src/core_modules/capture-core/components/DataEntries/common/TEIAndEnrollment/useMetadataForRegistrationForm/hooks/useDataEntryFormConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export const useDataEntryFormConfig = ({ selectedScopeId }: Props) => {
2525

2626
const {
2727
data: dataEntryFormConfig,
28-
isFetched,
2928
isError,
29+
isFetched,
3030
error,
3131
} = useApiMetadataQuery(['dataEntryFormConfig', selectedScopeId], configQuery, {
32-
enabled: !!configExists && !!selectedScopeId,
32+
enabled: !!(configExists && selectedScopeId),
3333
select: (dataEntryFormConfigQuery: any) => dataEntryFormConfigQuery?.[selectedScopeId] ?? null,
3434
});
3535

0 commit comments

Comments
 (0)