We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1612aff commit f59d219Copy full SHA for f59d219
src/views/Drive/components/VersionHistory/components/VersionHistorySkeleton.tsx
@@ -14,8 +14,8 @@ export const VersionHistorySkeleton = () => {
14
</div>
15
16
17
- {[...Array(3)].map((_, index) => (
18
- <div key={index} className="border-b-[2.5px] border-gray-5 px-6 py-3">
+ {Array.from({ length: 3 }, (_, index) => (
+ <div key={`skeleton-${index}`} className="border-b-[2.5px] border-gray-5 px-6 py-3">
19
<div className="flex flex-col space-y-2">
20
<div className="h-5 w-32 animate-pulse rounded bg-gray-10 dark:bg-gray-20" />
21
<div className="flex items-center space-x-2 pt-1">
0 commit comments