Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
fix var names
Browse files Browse the repository at this point in the history
  • Loading branch information
W3stside committed Dec 9, 2020
1 parent 663dc45 commit 57bf93f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/custom/state/fee/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export const useFee = (tokenAddress?: string): FeeInformation | undefined => {
return tokenAddress ? feesMap[tokenAddress]?.fee : undefined
}

export const useAddTip = (): AddFeeCallback => {
export const useAddFee = (): AddFeeCallback => {
const dispatch = useDispatch<AppDispatch>()
return (addTokenParams: AddFeeParams) => dispatch(updateFee(addTokenParams))
}

export const useClearTip = (): ClearFeeCallback => {
export const useClearFee = (): ClearFeeCallback => {
const dispatch = useDispatch<AppDispatch>()
return (clearTokenParams: ClearFeeParams) => dispatch(clearFee(clearTokenParams))
}

0 comments on commit 57bf93f

Please sign in to comment.