chore: remove array.at usage from runtime (#10619)

pull/10620/head
Dominic Gannaway 2 years ago committed by GitHub
parent cc6155922b
commit 351d463bc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2540,7 +2540,7 @@ export function hydrate(component, options) {
);
remove(hydration_fragment);
first_child.remove();
hydration_fragment.at(-1)?.nextSibling?.remove();
hydration_fragment[hydration_fragment.length - 1]?.nextSibling?.remove();
set_current_hydration_fragment(null);
return mount(component, options);
} else {

Loading…
Cancel
Save