We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e09e76 commit c2a5941Copy full SHA for c2a5941
packages/svelte/src/internal/client/runtime.js
@@ -756,7 +756,7 @@ export function get(signal) {
756
current_dependencies_index++;
757
} else if (current_dependencies === null) {
758
current_dependencies = [signal];
759
- } else if (signal !== current_dependencies.at(-1)) {
+ } else if (signal !== current_dependencies[current_dependencies.length - 1]) {
760
current_dependencies.push(signal);
761
}
762
0 commit comments