Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriyDurov committed Sep 15, 2024
1 parent a9135b7 commit 9b9c28e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ internal class PersistentComponentRenderStrategy(PersistentComponentBase compone
protected override async Task RunInitAndSetParametersAsync()
{
// TODO: Dotnet 9
//if (Handle.RendererInfo.IsInteractive)
var shouldInitializeState = true;
//var isInteractive = Handle.RendererInfo.IsInteractive;
var isInteractive = RendererInfo.IsInteractive;

var shouldInitializeState = true;

if (isInteractive)
{
var restored = await TryRestoringStateAsync();
Expand Down

0 comments on commit 9b9c28e

Please sign in to comment.