From d89917dcfd8a5bea2834d58e5db1a62635475615 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Tue, 6 Sep 2022 14:10:23 +0300 Subject: [PATCH] FileCard uses Link --- src/components/FIleCard/index.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/FIleCard/index.tsx b/src/components/FIleCard/index.tsx index 29e46e96..391240af 100644 --- a/src/components/FIleCard/index.tsx +++ b/src/components/FIleCard/index.tsx @@ -5,6 +5,7 @@ import { FileTokenData, Sign } from '@/types' import { size, ext } from '@/lib/file' import { getResizedUrl } from '@/lib/image' import { Signature } from './Signature' +import Link from 'next/link' export type FileCardProps = FileTokenData & { sign?: Sign @@ -45,9 +46,11 @@ export const FileCard: React.FC = props => {
- - {format} ({fileSize}) - + + + {format} ({fileSize}) + +
)