mirror of
https://github.com/strapi/strapi.git
synced 2025-07-30 20:39:05 +00:00
fix lint
This commit is contained in:
parent
16e2b22c5b
commit
1c6f6d96e0
@ -21,7 +21,7 @@ export const BulkDeleteButton = ({ selected, onSuccess }) => {
|
||||
const handleConfirmRemove = async () => {
|
||||
const { page, pageSize, assetCount, ...others } = query;
|
||||
const isSelected = selected?.length >= Number(assetCount);
|
||||
const numOfSelectedPages = Math.ceil(selected?.length / Number(pageSize));
|
||||
const numOfSelectedPages = Math.ceil(selected.length / Number(pageSize));
|
||||
const queryParams = {
|
||||
...others,
|
||||
pageSize,
|
||||
|
Loading…
x
Reference in New Issue
Block a user