diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-11-02 12:49:30 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-11-02 12:49:30 +0100 |
commit | 89472dc5ad5f764e785f1dbc0144623cc3ef18b0 (patch) | |
tree | e805a7b012187041b3140b3cc360660a2b56d033 /src | |
parent | 21604e11d701c67d9fc465be6d4cea271c13cff4 (diff) |
Reformat some code
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'src')
-rw-r--r-- | src/store/account.js | 9 |
1 files changed, 8 insertions, 1 deletions
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] |