(ComponentBase? sendingComponent, Event triggeredEvent, TPayload? data) where TResult : default where TPayload : default
- {
- return Task.FromResult(default(TResult));
- }
-
#endregion
}
\ No newline at end of file
diff --git a/app/MindWork AI Studio/Pages/Home.razor b/app/MindWork AI Studio/Pages/Home.razor
index de74a626..0b035995 100644
--- a/app/MindWork AI Studio/Pages/Home.razor
+++ b/app/MindWork AI Studio/Pages/Home.razor
@@ -1,8 +1,11 @@
@attribute [Route(Routes.HOME)]
+@inherits MSGComponentBase
- Let's get started
+
+ @T("Let's get started")
+
diff --git a/app/MindWork AI Studio/Pages/Home.razor.cs b/app/MindWork AI Studio/Pages/Home.razor.cs
index f6d7498a..4468e651 100644
--- a/app/MindWork AI Studio/Pages/Home.razor.cs
+++ b/app/MindWork AI Studio/Pages/Home.razor.cs
@@ -6,7 +6,7 @@ using Changelog = AIStudio.Components.Changelog;
namespace AIStudio.Pages;
-public partial class Home : ComponentBase
+public partial class Home : MSGComponentBase
{
[Inject]
private HttpClient HttpClient { get; init; } = null!;
@@ -22,7 +22,13 @@ public partial class Home : ComponentBase
}
#endregion
-
+
+ #region Overrides of MSGComponentBase
+
+ public override string ComponentName => nameof(Home);
+
+ #endregion
+
private async Task ReadLastChangeAsync()
{
var latest = Changelog.LOGS.MaxBy(n => n.Build);