From 89472dc5ad5f764e785f1dbc0144623cc3ef18b0 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 2 Nov 2022 12:49:30 +0100 Subject: [PATCH] Reformat some code Signed-off-by: Carl Schwan --- src/store/account.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/store/account.js b/src/store/account.js index a54e4ae1..2174317d 100644 --- a/src/store/account.js +++ b/src/store/account.js @@ -30,7 +30,14 @@ const state = { accountIdMap: {}, } const addAccount = (state, { actorId, data }) => { - Vue.set(state.accounts, actorId, Object.assign({ followersList: [], followingList: [], details: { following: false, follower: false } }, state.accounts[actorId], data)) + Vue.set(state.accounts, actorId, Object.assign({ + followersList: [], + followingList: [], + details: { + following: false, + follower: false, + } + }, state.accounts[actorId], data)) Vue.set(state.accountIdMap, data.account, data.id) } const _getActorIdForAccount = (account) => state.accountIdMap[account]