mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 14:23:02 -05:00
fix: run prettier on all file to avoid prettier issue inside PR
This commit is contained in:
@@ -36,7 +36,7 @@ export interface ErrorState {
|
||||
export type CallState = LoadingState | ErrorState;
|
||||
|
||||
export const getErrorCallState = (
|
||||
callState: CallState
|
||||
callState: CallState,
|
||||
): CustomError | undefined => {
|
||||
if (isErrorState(callState)) {
|
||||
return callState.error;
|
||||
|
||||
Reference in New Issue
Block a user