From 3093e8951eb14b819cf49f85ccb9ac51a629cf83 Mon Sep 17 00:00:00 2001 From: Jan-Gerke Salomon Date: Mon, 22 Jan 2024 17:29:56 +0800 Subject: [PATCH] feat: add data element group New and Edit views --- i18n/en.pot | 4 ++-- src/pages/dataElementGroups/fields/DataElementsField.tsx | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index d7f19c0c..4bfd10ee 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2024-03-05T09:22:03.031Z\n" -"PO-Revision-Date: 2024-03-05T09:22:03.031Z\n" +"POT-Creation-Date: 2024-03-05T09:22:38.399Z\n" +"PO-Revision-Date: 2024-03-05T09:22:38.399Z\n" msgid "schemas" msgstr "schemas" diff --git a/src/pages/dataElementGroups/fields/DataElementsField.tsx b/src/pages/dataElementGroups/fields/DataElementsField.tsx index 6ad0fe10..64345942 100644 --- a/src/pages/dataElementGroups/fields/DataElementsField.tsx +++ b/src/pages/dataElementGroups/fields/DataElementsField.tsx @@ -23,7 +23,13 @@ export function DataElementsField() { const newDataElementsLink = useHref('/dataElements/new') const dataElementsHandle = useRef({ +<<<<<<< HEAD refetch: () => console.error('Not initialized'), +======= + refetch: () => { + throw new Error('Not initialized') + }, +>>>>>>> ced3ce0 (feat: add data element group New and Edit views) }) const rightHeader = (