FundingPanel: remove unused history variable

This commit is contained in:
Alex Gleason 2022-04-24 18:56:57 -05:00
parent 9e3a1f0411
commit d9903807ed
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -1,6 +1,5 @@
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
import { useHistory } from 'react-router-dom';
import { fetchPatronInstance } from 'soapbox/actions/patron'; import { fetchPatronInstance } from 'soapbox/actions/patron';
import { Widget, Button, Text } from 'soapbox/components/ui'; import { Widget, Button, Text } from 'soapbox/components/ui';
@ -29,7 +28,6 @@ const moneyFormat = (amount: number): string => (
); );
const FundingPanel: React.FC = () => { const FundingPanel: React.FC = () => {
const history = useHistory();
const dispatch = useAppDispatch(); const dispatch = useAppDispatch();
const patron = useAppSelector(state => state.patron.instance); const patron = useAppSelector(state => state.patron.instance);