refactor: batch 1

This commit is contained in:
鲁树人 committed 2025-05-17 05:59:39 +09:00
1 parent 089d66cbf4
commit 13c669b4ea
23 files changed
+828 -533

No files matched your search

+2 -4
View File
@@ -1,5 +1,3 @@
import { VStack } from '@chakra-ui/react';
import { selectFiles } from './fileListingSlice';
import { useAppSelector } from '~/hooks';
import { FileRow } from './FileRow';
@@ -8,10 +6,10 @@ export function FileListing() {
const files = useAppSelector(selectFiles);
return (
<VStack>
<div className="flex flex-row flex-wrap gap-8">
{Object.entries(files).map(([id, file]) => (
<FileRow key={id} id={id} file={file} />
))}
</VStack>
</div>
);
}