Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bergeron committed Nov 20, 2024
1 parent 41d64f0 commit 76159ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/components/hooks/AssetPolling/useTokenDetectionPolling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const useTokenDetectionPolling = ({ chainIds }: { chainIds?: Hex[] } = {}) => {

usePolling({
startPolling:
TokenDetectionController.startPolling.bind(TokenDetectionController),
TokenDetectionController.startPolling.bind(TokenDetectionController),
stopPollingByPollingToken:
TokenDetectionController.stopPollingByPollingToken.bind(TokenDetectionController),
TokenDetectionController.stopPollingByPollingToken.bind(TokenDetectionController),
input: useTokenDetection ? [{
chainIds: chainIdsToPoll as Hex[],
address: selectedAccount?.address as Hex
Expand Down
4 changes: 2 additions & 2 deletions app/components/hooks/AssetPolling/useTokenListPolling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ const useTokenListPolling = ({ chainIds }: { chainIds?: Hex[] } = {}) => {

usePolling({
startPolling:
TokenListController.startPolling.bind(TokenListController),
TokenListController.startPolling.bind(TokenListController),
stopPollingByPollingToken:
TokenListController.stopPollingByPollingToken.bind(TokenListController),
TokenListController.stopPollingByPollingToken.bind(TokenListController),
input: chainIdsToPoll.map((chainId) => ({ chainId: chainId as Hex }))
});

Expand Down

0 comments on commit 76159ba

Please sign in to comment.