fix: bug
This commit is contained in:
@@ -34,6 +34,10 @@ export interface PointsDrawerProps {
|
||||
* 额外充值积分
|
||||
*/
|
||||
topUpPoints?: number
|
||||
/**
|
||||
* 充值回调
|
||||
*/
|
||||
onRecharge?: (amount: any) => void
|
||||
}
|
||||
|
||||
export default function PointsDrawer({
|
||||
@@ -42,6 +46,7 @@ export default function PointsDrawer({
|
||||
totalPoints = 0,
|
||||
subscriptionPoints = 0,
|
||||
topUpPoints = 0,
|
||||
onRecharge,
|
||||
}: PointsDrawerProps) {
|
||||
const { t } = useTranslation()
|
||||
const insets = useSafeAreaInsets()
|
||||
|
||||
Reference in New Issue
Block a user