MCPcopy
hub / github.com/MauriceNino/dashdot / FetchData

Interface FetchData

apps/docs/components/api-preview.tsx:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14} from '@/components/ui/select';
15
16interface FetchData {
17 error: Error | null;
18 data: unknown;
19 loading: boolean;
20}
21
22const getDataFromUrl = (url: string): FetchData => {
23 const [data, setData] = useState<FetchData>({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected