mirror of
https://github.com/strapi/strapi.git
synced 2025-09-03 05:39:36 +00:00
fixed upgrade compo import role/LV
This commit is contained in:
parent
4284d9f025
commit
2c7cbef984
@ -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>
|
||||
);
|
||||
};
|
||||
|
@ -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>
|
||||
`);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user