You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 3m 52s logged

Counting Agents

so time to show real data on dashboard
first i installed tanstack cuz i am not going to fetch everywhere the same data, tanstack query will fetch, cache, store, refetch and handle all that, its a server state management lib.

so using tanstack i created the neccessary functions for it to query the server and created the dashboard card component which will display the number of agent.
i am also using shadcn skeleton to show the loading part.

here’s how the cards look

next: agent table

0
5

Comments 0

No comments yet. Be the first!