Migrated back to stream directly into the Markdown renderer; due to its update, this seems now be possible.

This commit is contained in:
Thorsten Sommer 2024-05-25 14:08:48 +02:00
parent be94f6156e
commit c4a5242674
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -34,19 +34,10 @@
<MudSkeleton Width="100%"/> <MudSkeleton Width="100%"/>
} }
else else
{
@if (this.Content.IsStreaming)
{
<MudText Typo="Typo.body1" Style="white-space: pre-wrap;">
@textContent.Text
</MudText>
}
else
{ {
<MudMarkdown Value="@textContent.Text"/> <MudMarkdown Value="@textContent.Text"/>
} }
} }
}
break; break;