From 3048c006484a9ef59e7f4c3c400e9d84ff21db3a Mon Sep 17 00:00:00 2001 From: ZareMate <0.zaremate@gmail.com> Date: Wed, 16 Apr 2025 02:28:30 +0200 Subject: [PATCH] feat: add audio support in SharePage component --- src/app/_components/SharePage.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/app/_components/SharePage.tsx b/src/app/_components/SharePage.tsx index a6b67c1..88f557f 100644 --- a/src/app/_components/SharePage.tsx +++ b/src/app/_components/SharePage.tsx @@ -63,6 +63,17 @@ export function SharePage({ fileId, fileType }: SharePageProps) { ); } + if (fileType.startsWith("audio")) { + return ( + + ); + } return Media preview; } \ No newline at end of file