Skip to content

Commit

Permalink
fix: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
songkeys committed Jun 28, 2024
1 parent e02d5ee commit b3ea59e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/modules/wallet/tip-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { useSettingModal } from "../settings/modal/hooks"
const DEFAULT_RECOMMENDED_TIP = 0.1

export const TipModalContent: FC<{
userId: string
userId?: string
feedId?: string
}> = ({ userId, feedId }) => {
const user = useUser()
const myWallet = useWallet({ userId: user.id })
const myWallet = useWallet({ userId: user?.id })
const myWalletData = myWallet.data?.[0]

const balanceBigInt = BigInt(myWalletData?.powerToken ?? 0)
Expand Down

0 comments on commit b3ea59e

Please sign in to comment.