typo
This commit is contained in:
parent
de974e8725
commit
f92eb421ed
1 changed files with 0 additions and 6 deletions
|
@ -39,7 +39,6 @@ function ClaimTilesDiscover(props: Props) {
|
||||||
claimType,
|
claimType,
|
||||||
timestamp,
|
timestamp,
|
||||||
} = props;
|
} = props;
|
||||||
// const [hasSearched, setHasSearched] = React.useState(false);
|
|
||||||
|
|
||||||
const options: {
|
const options: {
|
||||||
page_size: number,
|
page_size: number,
|
||||||
|
@ -86,12 +85,7 @@ function ClaimTilesDiscover(props: Props) {
|
||||||
if (shouldPerformSearch) {
|
if (shouldPerformSearch) {
|
||||||
const searchOptions = JSON.parse(optionsStringForEffect);
|
const searchOptions = JSON.parse(optionsStringForEffect);
|
||||||
doClaimSearch(searchOptions);
|
doClaimSearch(searchOptions);
|
||||||
// setHasSearched(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return () => {
|
|
||||||
// setHasSearched(false);
|
|
||||||
};
|
|
||||||
}, [doClaimSearch, shouldPerformSearch, optionsStringForEffect]);
|
}, [doClaimSearch, shouldPerformSearch, optionsStringForEffect]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue