diff --git a/website/src/content/docs/guides/persisted-signals.md b/website/src/content/docs/guides/persisted-signals.md index dc214d71..f0a7531b 100644 --- a/website/src/content/docs/guides/persisted-signals.md +++ b/website/src/content/docs/guides/persisted-signals.md @@ -133,7 +133,7 @@ mixin PersistedSignalMixin on Signal { Future load() async { final val = await store.getItem(key); - if (val == null) return internalValue; + if (val == null) return value; return decode(val); }