privacy-scaling-explorations / maci-platform

MACI Platform - Voting and Funding using MACI
https://maci-platform.vercel.app
MIT License
17 stars 20 forks source link

feat(tally-fetch): Added fetch from subgraph #437

Closed crisgarner closed 2 weeks ago

crisgarner commented 3 weeks ago

How to use:

import { api } from "~/utils/api";
...
const tally = api.maci.tally.useQuery({ id: "TallyContractAddress" });
// Use the results from the tally.
vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
maci-platform ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 4:34am
crisgarner commented 2 weeks ago

Thanks! just added the fixes