From d9903807ed083a8936477286c55800c633387af3 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 24 Apr 2022 18:56:57 -0500 Subject: [PATCH] FundingPanel: remove unused history variable --- app/soapbox/features/ui/components/funding_panel.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/soapbox/features/ui/components/funding_panel.tsx b/app/soapbox/features/ui/components/funding_panel.tsx index 7c104c2b75..fa2ad89118 100644 --- a/app/soapbox/features/ui/components/funding_panel.tsx +++ b/app/soapbox/features/ui/components/funding_panel.tsx @@ -1,6 +1,5 @@ import React, { useEffect } from 'react'; import { FormattedMessage } from 'react-intl'; -import { useHistory } from 'react-router-dom'; import { fetchPatronInstance } from 'soapbox/actions/patron'; import { Widget, Button, Text } from 'soapbox/components/ui'; @@ -29,7 +28,6 @@ const moneyFormat = (amount: number): string => ( ); const FundingPanel: React.FC = () => { - const history = useHistory(); const dispatch = useAppDispatch(); const patron = useAppSelector(state => state.patron.instance);