mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-02 03:38:22 +00:00
feat: implement add device functionality with validation and error handling; refactor related components for improved state management
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m49s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m49s
This commit is contained in:
@ -20,7 +20,7 @@ export async function handleApiResponse<T>(
|
||||
if (response.status === 403) {
|
||||
throw new Error(
|
||||
responseData.message ||
|
||||
"Forbidden; you do not have permission to access this resource.",
|
||||
"Forbidden; you do not have permission to access this resource.",
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user