Skip to content

Commit 31433dd

Browse files
fix: Rename ResetApp method to HandleReset to avoid name conflict
- Method name 'ResetApp' conflicted with class name - Caused build error: CS0542 - Renamed to HandleReset to resolve conflict - Frontend now builds and runs successfully
1 parent 41b4411 commit 31433dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ai_mate_blazor/Pages/ResetApp.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
<p style="margin-bottom: 32px;">This will clear all localStorage data and reset the app to onboarding state.</p>
1111

12-
<button class="btn" @onclick="ResetApp" style="background: #ff6b6b; color: white; padding: 12px 24px;">
12+
<button class="btn" @onclick="HandleReset" style="background: #ff6b6b; color: white; padding: 12px 24px;">
1313
Reset App & Reload
1414
</button>
1515

@@ -26,7 +26,7 @@
2626
@code {
2727
private bool _isReset = false;
2828

29-
private async Task ResetApp()
29+
private async Task HandleReset()
3030
{
3131
try
3232
{

0 commit comments

Comments
 (0)