fix history

This commit is contained in:
Brandon Thomas committed 2021-06-14 02:39:49 -04:00
1 parent cbd8303e88
commit 5072a8e99a
1 file changed
+3
@@ -1,4 +1,5 @@
import React, { useEffect, useState } from 'react';
import { useHistory } from 'react-router-dom';
import { ApiConfig } from '../../common/ApiConfig';
import { SessionWrapper } from '../../session/SessionWrapper';
@@ -24,6 +25,8 @@ interface IpBanListItem {
}
function ModerationIpBanListFc(props: Props) {
const history = useHistory();
const [ipBanList, setIpBanList] = useState<Array<IpBanListItem>>([]);
// Form