FundingPanel: remove unused history variable
This commit is contained in:
parent
9e3a1f0411
commit
d9903807ed
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue