mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-20 03:50:20 +00:00
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
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m45s
This commit is contained in:
parent
1ae529c758
commit
ac11fee754
@ -70,6 +70,7 @@ export async function addDevice({
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
revalidatePath("/devices");
|
||||||
return handleApiResponse<SingleDevice>(response, "addDevice");
|
return handleApiResponse<SingleDevice>(response, "addDevice");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user