Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bosiraphael committed Dec 19, 2024
1 parent 58c2825 commit 8537955
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ export const RecordIndexActionMenuButtons = () => {
variant="secondary"
accent="default"
title={entry.label}
onClick={() => {
entry.onClick?.();
}}
onClick={entry.onClick}
ariaLabel={entry.label}
/>
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ export const RecordTableBodyFetchMoreLoader = () => {
return <></>;
}

console.log('isFetchingRecord');

return (
<tr ref={tbodyRef}>
<td colSpan={7}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ export class FavoriteDeletionService {
);
}

await Promise.all(batches.map((batch) => favoriteRepository.delete(batch)));
for (const batch of batches) {
await favoriteRepository.delete(batch);
}
}
}

0 comments on commit 8537955

Please sign in to comment.