diff --git a/security-admin/src/main/webapp/react-webapp/src/components/CommonComponents.jsx b/security-admin/src/main/webapp/react-webapp/src/components/CommonComponents.jsx index 85a361dd35..57c9290d40 100644 --- a/security-admin/src/main/webapp/react-webapp/src/components/CommonComponents.jsx +++ b/security-admin/src/main/webapp/react-webapp/src/components/CommonComponents.jsx @@ -24,8 +24,9 @@ import { Alert, Badge, Button, OverlayTrigger, Popover } from "react-bootstrap"; import { Field } from "react-final-form"; import { useLocation } from "react-router-dom"; import blockLoading from "Images/blockLoading.gif"; +import { toast } from "react-toastify"; -const Loader = () => { +export const Loader = () => { return (
1. Email address should be start with alphabet / numeric / underscore diff --git a/security-admin/src/main/webapp/react-webapp/src/views/Encryption/KeyCreate.jsx b/security-admin/src/main/webapp/react-webapp/src/views/Encryption/KeyCreate.jsx index 5a9fe069b6..9e8773ca54 100644 --- a/security-admin/src/main/webapp/react-webapp/src/views/Encryption/KeyCreate.jsx +++ b/security-admin/src/main/webapp/react-webapp/src/views/Encryption/KeyCreate.jsx @@ -61,7 +61,7 @@ const keyCreateReducer = (state, action) => { } }; -const PromtDialog = (props) => { +const PromptDialog = (props) => { const { isDirtyField, isUnblock } = props; usePrompt("Are you sure you want to leave", isDirtyField && !isUnblock); return null; @@ -225,7 +225,7 @@ function KeyCreate(props) { } }) => (