1
0
Fork 0
mirror of https://github.com/archtechx/money.git synced 2025-12-12 19:34:02 +00:00

Update README.md

This commit is contained in:
Samuel Štancl 2021-11-17 10:37:58 +01:00 committed by GitHub
parent 0a1552b1f0
commit ab97f27fd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -471,9 +471,9 @@ The component can look roughly like this:
},
init() {
$watch('money', () => $wire.set('money', {
value: Math.round(this.value / 100),
currency: this.currency.
$watch('money', money => $wire.set('money', {
value: Math.round(money.value / 100),
currency: money.currency.
}))
},
}" x-init="init">