i have a issue with component, when i assign @ref="longList Component" in an error appear, otherwise without @ref all work fine. I get an error but in this case i do not know what does mean. Help 😕 I lost last night and half of sunday 😕I am a beginner, so maybe i forgot about something.
<LogList @ref="logListComponent"/> <!-- error --><LogList /> <!-- ok --> protected override async Task OnInitializedAsync() { logListComponent = new LogList(); }Severity Code Description Project File Line Suppression StateError (active) CS0426 The type name 'Client' does not exist in the type 'MqttClient' MqttClient.Client C:\Users\Konrad\Desktop\MQ\MqttClient\MqttClient\Client\obj\Debug\net7.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_MqttClient_razor.g.cs 131