Moved RedirectToLogin code to code behind

This commit is contained in:
Khwezi Mngoma
2026-06-13 22:14:21 +02:00
parent 6d76442dcf
commit ff826f0b73
4 changed files with 25 additions and 21 deletions
-12
View File
@@ -50,15 +50,3 @@
</div>
</div>
@code {
[Parameter] public long Id { get; set; }
[Parameter] public string Title { get; set; } = string.Empty;
[Parameter] public string Author { get; set; } = string.Empty;
[Parameter] public decimal Price { get; set; }
[Parameter] public string Category { get; set; } = string.Empty;
[Parameter] public bool IsNew { get; set; }
[Parameter] public string BookImageUrl { get; set; } = string.Empty;
[Parameter] public EventCallback OnCardClick { get; set; }
}