Skip to content

Commit

Permalink
fix: loading state for list screens
Browse files Browse the repository at this point in the history
  • Loading branch information
thoreyjona committed Sep 11, 2024
1 parent 634a53a commit f1b953b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ export const ApplicationsList = ({

const data = useMemo(() => {
if (applicationsRes.loading && !applicationsRes.data) {
return Array.from({ length: 7 }).map((_, id) => ({
return Array.from({ length: 5 }).map((_, id) => ({
id: String(id),
__typename: 'skeleton',
__typename: 'Skeleton',
}))
}
if (applications.length === 0) {
Expand Down

0 comments on commit f1b953b

Please sign in to comment.