Skip to content

Commit

Permalink
Fix to Positions UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Finn authored and Finn committed Feb 20, 2024
1 parent ad7bbcf commit 56afe95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hooks/useStakeAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ export default function useStakeAccounts(): {
const mangoAccounts = mangoStore((s) => s.mangoAccounts)
const stakeAccounts = useMemo(() => {
return mangoAccounts.filter((ma) =>
ma.name.includes(`${BOOST_ACCOUNT_PREFIX.toLowerCase()}`),
ma.name.includes(`${BOOST_ACCOUNT_PREFIX}`),
)
}, [mangoAccounts])

console.log(stakeAccounts, mangoAccounts)

return {
stakeAccounts,
}
Expand Down

0 comments on commit 56afe95

Please sign in to comment.