diff --git a/frontend/src/components/Dashboard.tsx b/frontend/src/components/Dashboard.tsx
index 4ce64288..00f5a40e 100644
--- a/frontend/src/components/Dashboard.tsx
+++ b/frontend/src/components/Dashboard.tsx
@@ -76,22 +76,32 @@ const Dashboard: FC = () => {
- {data.map((user: UserDto) => (
-
- {user.id} |
- {user.name} |
- {user.email} |
-
-
+ {data.length === 0 ? (
+ |
+
+
+ Loading...
+
|
- ))}
+ ) : (
+ data.map((user: UserDto) => (
+
+ {user.id} |
+ {user.name} |
+ {user.email} |
+
+
+ |
+
+ ))
+ )}
= ({ children }) => {
return (
-