FundingPanel: remove unused history variable

revert-5af0e40a
Alex Gleason 2022-04-24 18:56:57 -05:00
rodzic 9e3a1f0411
commit d9903807ed
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -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);