From f15390ada32e18399303e9f8612357e3a305089a Mon Sep 17 00:00:00 2001 From: Sigrid <55406589+sigtheidiot@users.noreply.github.com> Date: Thu, 12 Oct 2023 16:13:05 +0200 Subject: [PATCH] add missing return in filter loading (#132) --- frontend/src/components/DepartmentFilter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/DepartmentFilter.tsx b/frontend/src/components/DepartmentFilter.tsx index 94d055a2..cbf95771 100644 --- a/frontend/src/components/DepartmentFilter.tsx +++ b/frontend/src/components/DepartmentFilter.tsx @@ -7,7 +7,7 @@ export default function DepartmentFilter() { const { data, isLoading } = useDepartmentsApi(); if (isLoading) { - ; + return ; } if (data) {