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

View File

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