Created
July 18, 2022 23:17
-
-
Save rayrayzayzay/e78acb195451bfbbcd1790c906d59fae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ New states for new requirements | |
type UserProfileRefetchAfterError = { | |
status: "refetch-after-error" | |
errorMessage: string | |
statusCode: number | |
} | |
type UserProfileRefetchAfterSuccess = { | |
status: "refetch-after-success" | |
data: UserProfileData | |
statusCode: number | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment