Skip to content

Commit

Permalink
add missing return in filter loading (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigridge authored Oct 12, 2023
1 parent aa41e60 commit f15390a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/DepartmentFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function DepartmentFilter() {
const { data, isLoading } = useDepartmentsApi();

if (isLoading) {
<CircularProgress />;
return <CircularProgress />;
}

if (data) {
Expand Down

0 comments on commit f15390a

Please sign in to comment.