Clean up Patron code
This commit is contained in:
parent
c9c08dff5c
commit
e33b621fb9
1 changed files with 2 additions and 18 deletions
|
@ -1,11 +1,7 @@
|
|||
import api, { getLinks } from '../api';
|
||||
import openDB from '../storage/db';
|
||||
import { me } from 'gabsocial/initial_state';
|
||||
import api from '../api';
|
||||
|
||||
export const PATRON_FUNDING_FETCH_REQUEST = 'PATRON_FUNDING_FETCH_REQUEST';
|
||||
export const PATRON_FUNDING_FETCH_SUCCESS = 'PATRON_FUNDING_FETCH_SUCCESS';
|
||||
export const PATRON_FUNDING_FETCH_FAIL = 'PATRON_FUNDING_FETCH_FAIL';
|
||||
export const PATRON_FUNDING_IMPORT = 'PATRON_FUNDING_IMPORT';
|
||||
export const PATRON_FUNDING_FETCH_FAIL = 'PATRON_FUNDING_FETCH_FAIL';
|
||||
|
||||
export function fetchFunding() {
|
||||
return (dispatch, getState) => {
|
||||
|
@ -26,18 +22,6 @@ export function importFetchedFunding(funding) {
|
|||
};
|
||||
}
|
||||
|
||||
export function fetchFundingRequest() {
|
||||
return {
|
||||
type: PATRON_FUNDING_FETCH_REQUEST,
|
||||
};
|
||||
};
|
||||
|
||||
export function fetchAccountSuccess() {
|
||||
return {
|
||||
type: PATRON_FUNDING_FETCH_SUCCESS,
|
||||
};
|
||||
};
|
||||
|
||||
export function fetchFundingFail(error) {
|
||||
return {
|
||||
type: PATRON_FUNDING_FETCH_FAIL,
|
||||
|
|
Loading…
Reference in a new issue