🚧 wip: create label dialog

This commit is contained in:
Fred KISSIE
2026-05-14 22:42:01 +02:00
parent eac36ee442
commit 43546c84eb
4 changed files with 137 additions and 108 deletions

View File

@@ -204,8 +204,8 @@ export default function ClientResourcesTable({
siteId: number
) => {
try {
await api.delete(`/site-resource/${resourceId}`).then(() => {
startTransition(() => {
startTransition(async () => {
await api.delete(`/site-resource/${resourceId}`).then(() => {
router.refresh();
setIsDeleteModalOpen(false);
});