Skip to content

Commit

Permalink
chore (ui) replace skeleton with spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
echoscriptor committed Jan 9, 2024
1 parent d9c52c1 commit 5f74d44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Projects.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import _ from 'lodash';
import { Skeleton } from 'primereact/skeleton';
import { ProgressSpinner } from 'primereact/progressspinner';
import { UIEvent, useContext, useEffect, useState } from 'react';
import { ProjectCard } from './ProjectCard';
import { StoreContext } from './StoreContext';
Expand Down Expand Up @@ -41,7 +41,7 @@ export const Projects = () => {
})}
{!isLastPage && !noProjects && !end && (
<div className="w-full flex flex-col gap-3">
<Skeleton className="w-full min-h-40"></Skeleton>
<ProgressSpinner />
</div>
)}
{noProjects && (
Expand Down

0 comments on commit 5f74d44

Please sign in to comment.