Skip to content

Commit

Permalink
feat(Trading Widget): v0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dimlbc committed Apr 24, 2024
1 parent bbf7401 commit a7dcfc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/trading-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhedge/trading-widget",
"version": "0.0.8",
"version": "0.0.9",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ExclamationCircleIcon } from '@heroicons/react/24/outline'
import type { FC } from 'react'

import { useFlatmoneyPointsUserBalances } from 'core-kit/hooks/user'
import { formatNumberToLimitedDecimals } from 'core-kit/utils'
import { commify, formatNumberToLimitedDecimals } from 'core-kit/utils'
import {
ActionButton,
Layout,
Expand Down Expand Up @@ -39,7 +39,7 @@ export const FmedWithdrawalOverlay: FC<OverlayProps> = ({ type }) => {
<>
<li className="dtw-text-warning">
If you withdraw now, you will incur a penalty of{' '}
{formatNumberToLimitedDecimals(unlockTaxAmount, 0)} FMP
{commify(formatNumberToLimitedDecimals(unlockTaxAmount, 0))} FMP
</li>
<li className="dtw-text-warning">
Wait until {unlockDate} for locked points vesting to complete
Expand Down

0 comments on commit a7dcfc2

Please sign in to comment.