fix typo
This commit is contained in:
parent
b4e8cde4e3
commit
3ebbb4470c
2 changed files with 2 additions and 6 deletions
4
dist/bundle.es.js
vendored
4
dist/bundle.es.js
vendored
|
@ -3636,9 +3636,7 @@ function handleClaimAction(state, action) {
|
||||||
if (stream) {
|
if (stream) {
|
||||||
byId[stream.claim_id] = stream;
|
byId[stream.claim_id] = stream;
|
||||||
byUri[url] = stream.claim_id;
|
byUri[url] = stream.claim_id;
|
||||||
}
|
} else if (channel) {
|
||||||
|
|
||||||
if (channel) {
|
|
||||||
byId[channel.claim_id] = channel;
|
byId[channel.claim_id] = channel;
|
||||||
byUri[stream ? channel.canonical_url : url] = channel.claim_id;
|
byUri[stream ? channel.canonical_url : url] = channel.claim_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,9 +76,7 @@ function handleClaimAction(state: State, action: any): State {
|
||||||
if (stream) {
|
if (stream) {
|
||||||
byId[stream.claim_id] = stream;
|
byId[stream.claim_id] = stream;
|
||||||
byUri[url] = stream.claim_id;
|
byUri[url] = stream.claim_id;
|
||||||
}
|
} else if (channel) {
|
||||||
|
|
||||||
if (channel) {
|
|
||||||
byId[channel.claim_id] = channel;
|
byId[channel.claim_id] = channel;
|
||||||
byUri[stream ? channel.canonical_url : url] = channel.claim_id;
|
byUri[stream ? channel.canonical_url : url] = channel.claim_id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue