From e33b621fb90a33427fe7316492f8a44ab4c39653 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 1 Apr 2020 14:40:14 -0500 Subject: [PATCH] Clean up Patron code --- app/gabsocial/actions/patron.js | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) 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,