|
|
@ -65,7 +65,7 @@ export const reconcileElements = (
|
|
|
|
|
|
|
|
|
|
|
|
// Mark duplicate for removal as it'll be replaced with the remote element
|
|
|
|
// Mark duplicate for removal as it'll be replaced with the remote element
|
|
|
|
if (local) {
|
|
|
|
if (local) {
|
|
|
|
// Unless the ramote and local elements are the same element in which case
|
|
|
|
// Unless the remote and local elements are the same element in which case
|
|
|
|
// we need to keep it as we'd otherwise discard it from the resulting
|
|
|
|
// we need to keep it as we'd otherwise discard it from the resulting
|
|
|
|
// array.
|
|
|
|
// array.
|
|
|
|
if (local[0] === remoteElement) {
|
|
|
|
if (local[0] === remoteElement) {
|
|
|
|