diff --git a/src/layout/FormFields.component.js b/src/layout/FormFields.component.js index 297640f3..b45eacea 100644 --- a/src/layout/FormFields.component.js +++ b/src/layout/FormFields.component.js @@ -17,7 +17,7 @@ import userSettingsKeyMapping from '../userSettingsMapping.js' import AvatarEditor from './AvatarEditor.component.js' import AppTheme from './theme.js' import { VerifyEmail } from './VerifyEmail.component.js' -import VerifyEmailWarning from './VerifyEmailWarning.js' +import VerifyEmailWarning from './VerifyEmailWarning.js' const styles = { header: { diff --git a/src/layout/VerifyEmailWarning.js b/src/layout/VerifyEmailWarning.js index d0fd6ffd..0180e00c 100644 --- a/src/layout/VerifyEmailWarning.js +++ b/src/layout/VerifyEmailWarning.js @@ -1,8 +1,7 @@ -import React from 'react' -import { useDataQuery, useConfig } from '@dhis2/app-runtime' +import { useDataQuery, useAlert } from '@dhis2/app-runtime' import i18n from '@dhis2/d2-i18n' import { NoticeBox } from '@dhis2/ui' -import { useAlert } from '@dhis2/app-runtime' +import React from 'react' const getUserProfileQuery = { me: {