/** * Bounty detail page — single desire with fulfillment option. */ import { useParams, Link } from 'react-router-dom'; import { useQuery } from '@tanstack/react-query'; import api from '@/lib/api'; export default function BountyDetail() { const { id } = useParams<{ id: string }>(); const { data: desire, isLoading } = useQuery({ queryKey: ['desire', id], queryFn: async () => { const { data } = await api.get(`/desires/${id}`); return data; }, enabled: !!id, }); if (isLoading) { return (
{JSON.stringify(desire.style_hints, null, 2)}
Write a shader that matches this description, then submit it as fulfillment.