import { VStack } from '@chakra-ui/react'; import { selectFiles } from './fileListingSlice'; import { useAppSelector } from '../../hooks'; import { FileRow } from './FileRow'; export function FileListing() { const files = useAppSelector(selectFiles); return ( {Object.entries(files).map(([id, file]) => ( ))} ); }