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 b12b64e commit 3e64f20Copy full SHA for 3e64f20
src/Components/Components/src/Routing/Router.cs
@@ -23,8 +23,8 @@ namespace Microsoft.AspNetCore.Components.Routing
23
public class Router : IComponent, IHandleAfterRender, IDisposable
24
{
25
static readonly char[] _queryOrHashStartChar = new[] { '?', '#' };
26
- static readonly ReadOnlyDictionary<string, object> _emptyParametersDictionary
27
- = new ReadOnlyDictionary<string, object>(new Dictionary<string, object>());
+ static readonly IReadOnlyDictionary<string, object> _emptyParametersDictionary
+ = new Dictionary<string, object>();
28
29
RenderHandle _renderHandle;
30
string _baseUri;
0 commit comments