fix: amount in profile
This commit is contained in:
parent
6c5891d407
commit
b1d35e2df6
|
@ -45,7 +45,6 @@ export const PaybackModal = ({initialData}) => {
|
|||
};
|
||||
|
||||
const handleChange = (info) => {
|
||||
console.log(info, "apa isi onchange")
|
||||
if (info.file.status === 'uploading') {
|
||||
setLoading(true);
|
||||
} else {
|
||||
|
|
|
@ -122,7 +122,13 @@ export const Profile = observer(() => {
|
|||
<Title strong level={3} style={styleSaldoTitle}>Saldo</Title>
|
||||
</Col>
|
||||
<Col lg={24} xs={12}>
|
||||
<Text style={styleSaldoContent}>{store.authentication.profileData?.wallet}</Text>
|
||||
<Text style={styleSaldoContent}>{
|
||||
new Intl.NumberFormat("id-ID", {
|
||||
style: "currency",
|
||||
currency: "IDR"
|
||||
})
|
||||
.format(store.authentication.profileData?.wallet || 0)}
|
||||
</Text>
|
||||
</Col>
|
||||
</Row>
|
||||
</Col>
|
||||
|
|
Loading…
Reference in New Issue
Block a user