diff --git a/app/gabsocial/actions/patron.js b/app/gabsocial/actions/patron.js index 4f4453caf..57b6790bf 100644 --- a/app/gabsocial/actions/patron.js +++ b/app/gabsocial/actions/patron.js @@ -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,