diff --git a/src/Components/Components/src/PersistentStateValueProvider.cs b/src/Components/Components/src/PersistentStateValueProvider.cs index 669e0b5a5363..6fd758f38ba4 100644 --- a/src/Components/Components/src/PersistentStateValueProvider.cs +++ b/src/Components/Components/src/PersistentStateValueProvider.cs @@ -19,7 +19,7 @@ internal sealed class PersistentStateValueProvider(PersistentComponentState stat { private static readonly ConcurrentDictionary<(string, string, string), byte[]> _keyCache = new(); private static readonly ConcurrentDictionary<(Type, string), PropertyGetter> _propertyGetterCache = new(); - private readonly ConcurrentDictionary _serializerCache = new(); + private static readonly ConcurrentDictionary _serializerCache = new(); private readonly Dictionary _subscriptions = [];