Open source personal finance application
Fix typo
ilkomec90ac8d99973
diff --git a/src/components/app/store/actions.js b/src/components/app/store/actions.jsindex 0b395dac..2fb84f52 100644--- a/src/components/app/store/actions.js+++ b/src/components/app/store/actions.js@@ -4,7 +4,7 @@ import { app } from '@/firebase'export default {async initApp ({ rootState, commit, dispatch }) {await dispatch('initAppFromCache')- dispatch('iniOfflineTrns')+ dispatch('initOfflineTrns')app.auth().onAuthStateChanged(async (user) => {if (user) {diff --git a/src/components/trns/store/actions.js b/src/components/trns/store/actions.jsindex 5c6fe1c5..a0b3b59c 100644--- a/src/components/trns/store/actions.js+++ b/src/components/trns/store/actions.js@@ -91,7 +91,7 @@ export default {db.ref(`users/${uid}/trns`).off()},- async iniOfflineTrns ({ dispatch }) {+ async initOfflineTrns ({ dispatch }) {db.ref('.info/connected').on('value', async snap => {const isConnected = snap.val()if (isConnected) {