@@ -13,7 +13,6 @@
user,
+ 'change-balance': (user: FG.User) => user,
},
setup(props, { emit }) {
const store = useBalanceStore();
@@ -47,7 +46,7 @@ export default defineComponent({
const amount = ref(0);
async function changeBalance(amount: number) {
await store.changeBalance(amount, user.value);
- emit('changeBalance', user.value);
+ emit('change-balance', user.value);
}
function addShortcut() {
if (amount.value != 0) void store.createShortcut(amount.value * -1);
diff --git a/src/components/BalanceTransferBody.vue b/src/components/BalanceTransferBody.vue
index 8967501..471be2b 100644
--- a/src/components/BalanceTransferBody.vue
+++ b/src/components/BalanceTransferBody.vue
@@ -6,14 +6,7 @@
-
+