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);
|
||||
if (inj) {
|
||||
if (uriBuffer.indexOf(index) === -1) {
|
||||
let newUriBUffer = uriBuffer;
|
||||
newUriBUffer.push(index);
|
||||
setUriBuffer(newUriBUffer);
|
||||
const newUriBuffer = uriBuffer;
|
||||
newUriBuffer.push(index);
|
||||
setUriBuffer(newUriBuffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -185,9 +185,9 @@ function ClaimTilesDiscover(props: Props) {
|
|||
const inj = getInjectedItem(index);
|
||||
if (inj) {
|
||||
if (uriBuffer.indexOf(index) === -1) {
|
||||
let newUriBUffer = uriBuffer;
|
||||
newUriBUffer.push(index);
|
||||
setUriBuffer(newUriBUffer);
|
||||
const newUriBuffer = uriBuffer;
|
||||
newUriBuffer.push(index);
|
||||
setUriBuffer(newUriBuffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue