Clean code
This commit is contained in:
parent
c6c824c059
commit
99a36b6bd6
2 changed files with 6 additions and 6 deletions
|
@ -217,9 +217,9 @@ export default function ClaimList(props: Props) {
|
||||||
const inj = getInjectedItem(index);
|
const inj = getInjectedItem(index);
|
||||||
if (inj) {
|
if (inj) {
|
||||||
if (uriBuffer.indexOf(index) === -1) {
|
if (uriBuffer.indexOf(index) === -1) {
|
||||||
let newUriBUffer = uriBuffer;
|
const newUriBuffer = uriBuffer;
|
||||||
newUriBUffer.push(index);
|
newUriBuffer.push(index);
|
||||||
setUriBuffer(newUriBUffer);
|
setUriBuffer(newUriBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -185,9 +185,9 @@ function ClaimTilesDiscover(props: Props) {
|
||||||
const inj = getInjectedItem(index);
|
const inj = getInjectedItem(index);
|
||||||
if (inj) {
|
if (inj) {
|
||||||
if (uriBuffer.indexOf(index) === -1) {
|
if (uriBuffer.indexOf(index) === -1) {
|
||||||
let newUriBUffer = uriBuffer;
|
const newUriBuffer = uriBuffer;
|
||||||
newUriBUffer.push(index);
|
newUriBuffer.push(index);
|
||||||
setUriBuffer(newUriBUffer);
|
setUriBuffer(newUriBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue