Skip to content

Commit

Permalink
fix: review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Nov 6, 2024
1 parent 7a7678b commit f6c9610
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 35 deletions.
8 changes: 4 additions & 4 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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-11-04T17:57:57.557Z\n"
"PO-Revision-Date: 2024-11-04T17:57:57.557Z\n"
"POT-Creation-Date: 2024-11-06T12:51:22.564Z\n"
"PO-Revision-Date: 2024-11-06T12:51:22.564Z\n"

msgid "Choose one or more dates..."
msgstr "Choose one or more dates..."
Expand Down Expand Up @@ -1497,10 +1497,10 @@ msgid "An error occurred while unlinking and deleting the event."
msgstr "An error occurred while unlinking and deleting the event."

msgid ""
"Are you sure you want delete the relationsship and the related event? This "
"Are you sure you want delete the relationship and the related event? This "
"will permanently remove the event and all related data."
msgstr ""
"Are you sure you want delete the relationsship and the related event? This "
"Are you sure you want delete the relationship and the related event? This "
"will permanently remove the event and all related data."

msgid "Yes, unlink and delete event"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ export const UnlinkAndDeleteModal = ({
});

return (
<Modal dataTest="event-unlink-and-delete-modal" position="middle">
<Modal dataTest="event-unlink-and-delete-modal">
<ModalTitle>{i18n.t('Delete event')}</ModalTitle>
<ModalContent>
<p>
{i18n.t(
'Are you sure you want delete the relationsship and the related event? This will permanently remove the event and all related data.',
'Are you sure you want delete the relationship and the related event? This will permanently remove the event and all related data.',
)}
</p>
</ModalContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { userStores } from '../../../storageControllers/stores';

export const useRelationshipTypeAccess = (relationshipTypeId: string) => {
const storageController = getUserStorageController();
console.log('relationshipTypeId', relationshipTypeId);

const { data, error, isLoading } = useIndexedDBQuery(
['relationshipTypeAccess', relationshipTypeId],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
// @flow

export { useChangelogData } from './useChangelogData';
2 changes: 0 additions & 2 deletions src/core_modules/capture-core/dataQueries/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export { useOrganisationUnit } from './useOrganisationUnit';
export { useOrganisationUnits } from './useOrganisationUnits';

export { useOrgUnitAutoSelect } from './useOrgUnitsForAutoSelect';
25 changes: 0 additions & 25 deletions src/core_modules/capture-core/dataQueries/useOrganisationUnits.js

This file was deleted.

0 comments on commit f6c9610

Please sign in to comment.