Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(refactor): remove direct imports from mui #855

Merged
merged 5 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
- Fix consistency issue in overlays where form input is used
- Company Wallet
- Use appropriate path to display logo on cards
- Refactor
- Remove unnecessary import of Trans from mui
- Connector Management
- fetch details using api, added permissions and fixed error messages
- App Release Process
Expand Down
14 changes: 6 additions & 8 deletions src/components/overlays/AddMultipleUser/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { useEffect, useState } from 'react'
import { Link } from 'react-router-dom'
import { useDispatch, useSelector } from 'react-redux'
import type { store } from 'features/store'
import { Trans, useTranslation } from 'react-i18next'
import { useTranslation } from 'react-i18next'
import {
Button,
DialogActions,
Expand Down Expand Up @@ -273,13 +273,11 @@ export default function AddMultipleUser() {
{tableErrorData && tableErrorData.body[0]?.length > 0 && (
<>
<div className="mb-30">
<Trans>
<Typography variant="body1" className="errorUsersLabel">
{t(
'content.usermanagement.addMultipleUsers.success.errorUsersLabel'
)}
</Typography>
</Trans>
<Typography variant="body1" className="errorUsersLabel">
{t(
'content.usermanagement.addMultipleUsers.success.errorUsersLabel'
)}
</Typography>
</div>
<StaticTable data={tableErrorData} horizontal={false} />
</>
Expand Down
Loading