Skip to content

Commit

Permalink
fix: adding comment on change made
Browse files Browse the repository at this point in the history
  • Loading branch information
Veenoway committed Sep 29, 2024
1 parent f975c0c commit 7d90f92
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export const usePositionStream = (
});
//

// Refresh Algo orders from useOrderStream & active position from "v1/positions"
const refreshAlgoAndPosition = () => {
refresh();
refreshPositions();
Expand Down Expand Up @@ -345,6 +346,7 @@ export const usePositionStream = (
// showSymbol,
error,
// loadMore: () => {},
// Replace refresh function from v1/positions with new refresh function
refresh: refreshAlgoAndPosition,
},
] as const;
Expand Down

0 comments on commit 7d90f92

Please sign in to comment.