diff --git a/frontend/src/app/bemanning/page.tsx b/frontend/src/app/bemanning/page.tsx index e52e7c1f..3ddcd66c 100644 --- a/frontend/src/app/bemanning/page.tsx +++ b/frontend/src/app/bemanning/page.tsx @@ -1,18 +1,13 @@ import FilteredConsultantsList from "@/components/FilteredConsultantsList"; import { getConsultants } from "@/data/getConsultants"; -import { CircularProgress } from "@mui/material"; export default async function Bemanning() { const consultants = await getConsultants(); - if (consultants.length == 0) { - return ; - } else { - return ( -
-

Konsulenter

- -
- ); - } + return ( +
+

Konsulenter

+ +
+ ); } diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index f251f178..1c7b2a65 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2017", + "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true,