{url}
; + const url = useQuery({ + queryKey: ["audioURL", props.name], + queryFn: async () => { + return getRecording(props.name, user.data); + }, + }); + + if (user.isLoading ?? url.isLoading) { + return{url.data}
; } -export default function Page(props: { name: string }) { +export default function AudioPreview(props: { name: string }) { return (