diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-11-26 05:58:18 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-05-11 11:09:20 +0200 |
commit | bb1a3e902d5a8ecd3bc5cd6bf136f52d6eaf70f8 (patch) | |
tree | 0968fd11ec17face2164a3ccf247066bd42b2539 /app/javascript/flavours/glitch/reducers/identity_proofs.js | |
parent | b356a995c11b6b2cb8986556e9cf48a1c13cbb95 (diff) |
[Glitch] Remove Keybase integration
Port 7de0ee7aba86cffeaeffded7e0699214fb64364e to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/reducers/identity_proofs.js')
-rw-r--r-- | app/javascript/flavours/glitch/reducers/identity_proofs.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/app/javascript/flavours/glitch/reducers/identity_proofs.js b/app/javascript/flavours/glitch/reducers/identity_proofs.js deleted file mode 100644 index 58af0a5fa..000000000 --- a/app/javascript/flavours/glitch/reducers/identity_proofs.js +++ /dev/null @@ -1,25 +0,0 @@ -import { Map as ImmutableMap, fromJS } from 'immutable'; -import { - IDENTITY_PROOFS_ACCOUNT_FETCH_REQUEST, - IDENTITY_PROOFS_ACCOUNT_FETCH_SUCCESS, - IDENTITY_PROOFS_ACCOUNT_FETCH_FAIL, -} from '../actions/identity_proofs'; - -const initialState = ImmutableMap(); - -export default function identityProofsReducer(state = initialState, action) { - switch(action.type) { - case IDENTITY_PROOFS_ACCOUNT_FETCH_REQUEST: - return state.set('isLoading', true); - case IDENTITY_PROOFS_ACCOUNT_FETCH_FAIL: - return state.set('isLoading', false); - case IDENTITY_PROOFS_ACCOUNT_FETCH_SUCCESS: - return state.update(identity_proofs => identity_proofs.withMutations(map => { - map.set('isLoading', false); - map.set('loaded', true); - map.set(action.accountId, fromJS(action.identity_proofs)); - })); - default: - return state; - } -}; |