fix: ensure device list is refreshed after adding a new device
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m45s

This commit is contained in:
i701 2025-04-19 13:43:37 +05:00
parent 1ae529c758
commit ac11fee754
Signed by: i701
GPG Key ID: 54A0DA1E26D8E587

View File

@ -70,6 +70,7 @@ export async function addDevice({
}), }),
}, },
); );
revalidatePath("/devices");
return handleApiResponse<SingleDevice>(response, "addDevice"); return handleApiResponse<SingleDevice>(response, "addDevice");
} }