Skip to content

Commit

Permalink
fix: getgho button
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecarpini committed Jan 21, 2024
1 parent ee62b08 commit 7b5c90e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/web/src/api/aave/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ export const useMergedTableData = ({
};

export const useGhoData = (address: string) => {
const mergeData = useMergedTableData({ address, showGho: true });
const mergeData = useMergedTableData({
address,
showAll: true,
showGho: true
});
return mergeData.find((asset) => asset.symbol === 'GHO');
};

0 comments on commit 7b5c90e

Please sign in to comment.