"use client"; import { useEffect, useState } from "react"; import { cn } from "~/utils"; import Icon from "~/components/Icon"; export default function PreviewUnknown() { const [loading, setLoading] = useState(true); useEffect(() => { setLoading(false); }, []); return (
{loading ? (

Loading content...

) : (

Preview not available

This file type is not supported for preview, try downloading the file instead.

)}
); }