fix: ensure device list is refreshed after adding a new device

This commit is contained in:
2025-04-19 13:43:37 +05:00
parent 1ae529c758
commit ac11fee754
+1
View File
@@ -70,6 +70,7 @@ export async function addDevice({
}),
},
);
revalidatePath("/devices");
return handleApiResponse<SingleDevice>(response, "addDevice");
}