Skip to content

Commit

Permalink
fix: layer bigNumberFormatter typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRalee committed Jan 16, 2024
1 parent 20e34b4 commit 4320ae5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions layer/composables/useSharedBigNumberFormatted.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { computed, ComputedRef, Ref } from 'vue'
import {
BigNumber,
BigNumberInBase,
Expand Down Expand Up @@ -114,9 +113,7 @@ const getNumberMinimalDecimals = (
}

export function useSharedBigNumberFormatter(
value:
| Ref<string | Number | BigNumberInBase | undefined>
| ComputedRef<string | Number | BigNumberInBase | undefined>,
value: ComputedRef<string | Number | BigNumberInBase>,
options: {
decimalPlaces?: number
minimalDecimalPlaces?: number
Expand Down

0 comments on commit 4320ae5

Please sign in to comment.