chore: remove un-used size prop

This commit is contained in:
Nicolas Meienberger 2025-11-26 18:59:11 +01:00
parent b6a338d82f
commit a61cfa616a
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,6 @@ import type { BackendType } from "~/schemas/volumes";
type VolumeIconProps = { type VolumeIconProps = {
backend: BackendType; backend: BackendType;
size?: number;
}; };
const getIconAndColor = (backend: BackendType) => { const getIconAndColor = (backend: BackendType) => {

View file

@ -142,7 +142,7 @@ export default function VolumeDetails({ loaderData }: Route.ComponentProps) {
   
{volume.status[0].toUpperCase() + volume.status.slice(1)} {volume.status[0].toUpperCase() + volume.status.slice(1)}
</span> </span>
<VolumeIcon size={14} backend={volume?.config.backend} /> <VolumeIcon backend={volume?.config.backend} />
</div> </div>
<div className="flex gap-4"> <div className="flex gap-4">
<Button <Button