You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the data fetching is failed (for example, in the schedule lists), the short description of error should appear.
For example, in the ScheduleList component instead of infinite loading we can display appeared error.
Describe the feature
When the data fetching is failed (for example, in the schedule lists), the short description of error should appear.
For example, in the
ScheduleList
component instead of infinite loading we can display appeared error.Suggested solution
Let's consider this fragment: https://github.com/one-zero-eight/InNoHassle-Website/blob/22d535c2d1f6b5096dfeb10060d2510488ab175b/components/schedule/ScheduleList.tsx#L17
This hook can additionally return
isError
andisLoading
boolean values. For example,This may be helpful while implementing this feature.
Additional context
No response
The text was updated successfully, but these errors were encountered: