fixed upgrade compo import role/LV

This commit is contained in:
ronronscelestes 2021-09-06 16:02:24 +02:00
parent 4284d9f025
commit 2c7cbef984
2 changed files with 2 additions and 9 deletions

View File

@ -20,7 +20,7 @@ import { useIntl } from 'react-intl';
import { useHistory } from 'react-router';
import RoleRow from './components/RoleRow';
import EmptyRole from './components/EmptyRole';
import UpgradePlanModal from '../../../../../components/UpgradePlanModal';
import UpgradePlanModal from '../../../../../components/UpgradePlanModal ';
import { useRolesList } from '../../../../../hooks';
const useSortedRoles = () => {
@ -186,7 +186,7 @@ const RoleListPage = () => {
</Table>
{!rowCount && !isLoading && <EmptyRole />}
</ContentLayout>
<UpgradePlanModal isOpen={isModalOpen} onToggle={handleToggle} />
<UpgradePlanModal isOpen={isModalOpen} onClose={handleToggle} />
</Main>
);
};

View File

@ -400,10 +400,6 @@ describe('<ListPage />', () => {
border: none;
}
.c37 {
font-family: Lato;
}
<main
aria-labelledby="title"
class="c0"
@ -612,9 +608,6 @@ describe('<ListPage />', () => {
</div>
</div>
</div>
<div
class="c37"
/>
</main>
`);
});