Skip to content

Commit

Permalink
chore: fix useUserRewards signature
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Apr 2, 2022
1 parent 2c9a176 commit f109014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/business/services/DataService/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export function useRewardsPrograms() {
return useAsyncDataCached("rewardsPrograms", dataService.getRewardsPrograms);
}

export function useUserRewards(address: `string`) {
return useAsyncDataCached(`rewardsPrograms-${address}`, () =>
export function useUserRewards(address: string) {
return useAsyncDataCached(`userRewards-${address}`, () =>
dataService.getUserRewards(address),
);
}

0 comments on commit f109014

Please sign in to comment.