From a3cbb52688a8d8bfeff4886904eb2dd0af36c76e Mon Sep 17 00:00:00 2001 From: tommy Date: Tue, 8 Nov 2022 19:33:23 +0100 Subject: [PATCH] refactor(ui): avoid store class instances in vuex We should only store plain objects in vuex to avoid not being able to call the class instance methods --- src/components/WelcomeBack/WalletList.vue | 5 +- src/main.ts | 8 ++ src/router.js | 15 ++-- src/store/uiInteractions.js | 7 +- src/store/wallet.js | 91 +++++++++++------------ src/views/Setup.vue | 1 - 6 files changed, 66 insertions(+), 61 deletions(-) diff --git a/src/components/WelcomeBack/WalletList.vue b/src/components/WelcomeBack/WalletList.vue index cc135ae83..5802d395d 100644 --- a/src/components/WelcomeBack/WalletList.vue +++ b/src/components/WelcomeBack/WalletList.vue @@ -45,6 +45,7 @@