feat: use RTK Query to create order deails (#81)
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good

This commit is contained in:
RustamRu
2025-02-09 08:04:21 +03:00
parent ad1f948641
commit 1669f01879
12 changed files with 100 additions and 124 deletions

View File

@@ -5,6 +5,8 @@ type SuccessResponse<Body> = {
export type ErrorMessage = string;
export const isErrorMessage = (error: unknown): error is ErrorMessage => typeof error === 'string';
type ErrorResponse = {
success: false;
message: ErrorMessage;