diff --git a/src/components/tasks/TasksContent.tsx b/src/components/tasks/TasksContent.tsx
index 23b370e51..7319c1f71 100644
--- a/src/components/tasks/TasksContent.tsx
+++ b/src/components/tasks/TasksContent.tsx
@@ -22,6 +22,7 @@ import {
import useIntersection from '@/hooks/useIntersection';
import TaskSearchDev from './TaskSearch/TaskSearch';
+import TaskCardShimmer from '../Loaders/taskCardShimmer';
export const TasksContent = ({ dev }: { dev?: boolean }) => {
const router = useRouter();
@@ -127,6 +128,18 @@ export const TasksContent = ({ dev }: { dev?: boolean }) => {
earlyReturn: loadedTasks[selectedTab].length === 0,
});
+ if (isLoading && dev)
+ return (
+
+ {[...Array(5)].map((n: number, index) => (
+
+ ))}
+
+ );
+
if (isLoading) return Loading...
;
if (isError) return {TASKS_FETCH_ERROR_MESSAGE}
;
diff --git a/src/styles/tasks.module.scss b/src/styles/tasks.module.scss
index 1635bf9c5..f61969427 100644
--- a/src/styles/tasks.module.scss
+++ b/src/styles/tasks.module.scss
@@ -4,6 +4,17 @@
width: 64%;
}
+.taskSkeletonContainer {
+ padding: 2rem 0 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+
+ @media (max-width: 448px) {
+ padding: 2rem 1rem 0;
+ }
+}
+
.container {
text-align: center;
display: flex;