Skip to content

Commit

Permalink
make sync
Browse files Browse the repository at this point in the history
  • Loading branch information
elee1766 committed Jan 8, 2024
1 parent a2faafd commit 34fd5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/rewards-dashboard/src/layouts/DashboardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const ConnectedDashboard = () => {
const { data:overview } = useQuery<OverviewQueryResult>({
queryKey: ["overview"],
staleTime: 5000,
queryFn: async () => {
queryFn: () => {
return fetch(`${WAC_URL}/overview`)
.then((res) => {
return res.json()
Expand All @@ -68,7 +68,7 @@ const ConnectedDashboard = () => {
queryKey: [address],
enabled: !!address,
staleTime: 5000,
queryFn: async () => {
queryFn: () => {
return fetch(`${WAC_URL}/usersummary?address=${address}`)
.then((res) => {
return res.json()
Expand Down

0 comments on commit 34fd5e2

Please sign in to comment.