diff --git a/src/components/OrgSettings/General/OrgUpdate/OrgUpdate.module.css b/src/components/OrgSettings/General/OrgUpdate/OrgUpdate.module.css deleted file mode 100644 index fca7ac5e5b..0000000000 --- a/src/components/OrgSettings/General/OrgUpdate/OrgUpdate.module.css +++ /dev/null @@ -1,13 +0,0 @@ -.message { - height: 420px; - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; -} - -.icon { - transform: scale(1.5); - color: var(--bs-danger); - margin-bottom: 1rem; -} diff --git a/src/components/OrgSettings/General/OrgUpdate/OrgUpdate.tsx b/src/components/OrgSettings/General/OrgUpdate/OrgUpdate.tsx index 6e0be28a56..f3d64ac542 100644 --- a/src/components/OrgSettings/General/OrgUpdate/OrgUpdate.tsx +++ b/src/components/OrgSettings/General/OrgUpdate/OrgUpdate.tsx @@ -12,7 +12,7 @@ import Loader from 'components/Loader/Loader'; import { Col, Form, Row } from 'react-bootstrap'; import convertToBase64 from 'utils/convertToBase64'; import { errorHandler } from 'utils/errorHandler'; -import styles from './OrgUpdate.module.css'; +import styles from '../../../../style/app.module.css'; import type { InterfaceQueryOrganizationsListObject, InterfaceAddress, @@ -141,7 +141,7 @@ function orgUpdate(props: InterfaceOrgUpdateProps): JSX.Element { file: formState.orgImage, }, }); - // istanbul ignore next + if (data) { refetch({ id: orgId }); toast.success(t('successfulUpdated') as string); diff --git a/src/style/app.module.css b/src/style/app.module.css index 5efd03ee96..cc1b9d936d 100644 --- a/src/style/app.module.css +++ b/src/style/app.module.css @@ -9101,3 +9101,18 @@ button[data-testid='createPostBtn'] { gap: 10px; align-items: center; } + +/* OrgUpdate.tsx */ +.message { + height: 420px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +.icon { + transform: scale(1.5); + color: var(--bs-danger); + margin-bottom: 1rem; +}