chore: remove un-used size prop
This commit is contained in:
parent
b6a338d82f
commit
a61cfa616a
2 changed files with 1 additions and 2 deletions
|
|
@ -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) => {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue