Skip to content

Commit 81f0930

Browse files
committed
#4086 Switching loading and error precedance
1 parent 1f87136 commit 81f0930

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontend/src/pages/GuestDivisionsPage/GuestDivisionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const GuestDivisionPage: React.FC = () => {
1515
error: teamTypesError
1616
} = useAllTeamTypes();
1717

18-
if (teamTypesIsLoading || !allTeamTypes) return <LoadingIndicator />;
1918
if (teamTypesIsError) return <ErrorPage message={teamTypesError.message} />;
19+
if (teamTypesIsLoading || !allTeamTypes) return <LoadingIndicator />;
2020

2121
if (allTeamTypes.length === 0) {
2222
return (

0 commit comments

Comments
 (0)