This commit is contained in:
Sean Yesmunt 2020-01-22 10:52:16 -05:00
parent de974e8725
commit f92eb421ed

View file

@ -39,7 +39,6 @@ function ClaimTilesDiscover(props: Props) {
claimType,
timestamp,
} = props;
// const [hasSearched, setHasSearched] = React.useState(false);
const options: {
page_size: number,
@ -86,12 +85,7 @@ function ClaimTilesDiscover(props: Props) {
if (shouldPerformSearch) {
const searchOptions = JSON.parse(optionsStringForEffect);
doClaimSearch(searchOptions);
// setHasSearched(true);
}
return () => {
// setHasSearched(false);
};
}, [doClaimSearch, shouldPerformSearch, optionsStringForEffect]);
return (