rls
This commit is contained in:
@@ -77,6 +77,8 @@ export const useResources = (initialPagination, initialSorter, type) => {
|
||||
const deleteResource = async (id) => {
|
||||
try {
|
||||
const data= await resourceService.deleteResource(id, type);
|
||||
console.log(data,data.length,'data');
|
||||
|
||||
if(data?.length>0){
|
||||
const newCurrent =
|
||||
resources.length === 1 && currentPagination.current > 1
|
||||
|
||||
Reference in New Issue
Block a user