Skip to content

Commit b201d61

Browse files
committed
fix: duh, forgot to add the code back after testing the test was failing before
1 parent 6749955 commit b201d61

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/reactivity

1 file changed

+1
-1
lines changed

packages/svelte/src/reactivity/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class SvelteDate extends Date {
4343

4444
var d = this.#deriveds.get(method);
4545

46-
if (d === undefined) {
46+
if (d === undefined || (d.f & DESTROYED) !== 0) {
4747
d = derived(() => {
4848
get(this.#time);
4949
// @ts-ignore

0 commit comments

Comments
 (0)