diff --git a/Examples/BlazorWebAssemblySupabaseTemplate/Pages/Auth/Login.razor.cs b/Examples/BlazorWebAssemblySupabaseTemplate/Pages/Auth/Login.razor.cs index f541016e..46a07b7a 100644 --- a/Examples/BlazorWebAssemblySupabaseTemplate/Pages/Auth/Login.razor.cs +++ b/Examples/BlazorWebAssemblySupabaseTemplate/Pages/Auth/Login.razor.cs @@ -8,7 +8,7 @@ public partial class Login public async Task OnClickLogin() { await AuthService.Login(Email, Password); - Snackbar.Add("Login successfull"); + Snackbar.Add("Login successful"); NavigationManager.NavigateTo($"/"); } } diff --git a/Examples/BlazorWebAssemblySupabaseTemplate/Pages/CrudPrivate/CrudPagePrivate.razor b/Examples/BlazorWebAssemblySupabaseTemplate/Pages/CrudPrivate/CrudPagePrivate.razor index bca022da..5a0a73d9 100644 --- a/Examples/BlazorWebAssemblySupabaseTemplate/Pages/CrudPrivate/CrudPagePrivate.razor +++ b/Examples/BlazorWebAssemblySupabaseTemplate/Pages/CrudPrivate/CrudPagePrivate.razor @@ -11,7 +11,7 @@ Todos private by RLS
- The data in this page is filtered automaticaly by Row Level Security policies. + The data in this page is filtered automatically by Row Level Security policies. This way, you need to be logged in to see the content of this table and to insert an item. Also, each user logged in can only SELECT (get from database) and UPDATE its own rows. See the code file DatabasePolicies.sql on GitHub to get to know the policies. diff --git a/Examples/BlazorWebAssemblySupabaseTemplate/Pages/Index.razor b/Examples/BlazorWebAssemblySupabaseTemplate/Pages/Index.razor index a971019c..453ecdcc 100644 --- a/Examples/BlazorWebAssemblySupabaseTemplate/Pages/Index.razor +++ b/Examples/BlazorWebAssemblySupabaseTemplate/Pages/Index.razor @@ -29,7 +29,7 @@ Auth test area. - Congratulatons! You are logged in! + Congratulations! You are logged in! Auth test area. diff --git a/Examples/BlazorWebAssemblySupabaseTemplate/README.MD b/Examples/BlazorWebAssemblySupabaseTemplate/README.MD index 2f7db627..52d268f1 100644 --- a/Examples/BlazorWebAssemblySupabaseTemplate/README.MD +++ b/Examples/BlazorWebAssemblySupabaseTemplate/README.MD @@ -7,7 +7,7 @@ - Insert some row - you will see the row displayed below - press F5 on the browser - - the rows will disapear + - the rows will disappear - Maybe i created CustomSupabaseSessionHandler wrong. But it seem like that the token is not being sent with the headers... - create policy to insert that check if the user_id is the same of the user logged in trying to insert. diff --git a/Examples/BlazorWebAssemblySupabaseTemplate/Services/DatabaseService.cs b/Examples/BlazorWebAssemblySupabaseTemplate/Services/DatabaseService.cs index 47ba2985..5933eaad 100644 --- a/Examples/BlazorWebAssemblySupabaseTemplate/Services/DatabaseService.cs +++ b/Examples/BlazorWebAssemblySupabaseTemplate/Services/DatabaseService.cs @@ -63,7 +63,7 @@ public DatabaseService( if(ex.Response?.StatusCode == HttpStatusCode.Forbidden) await _dialogService.ShowMessageBox( "Warning", - "This database resquest was forbidden." + "This database request was forbidden." ); else await _dialogService.ShowMessageBox( diff --git a/Examples/BlazorWebAssemblySupabaseTemplate/Shared/MainLayout.razor.cs b/Examples/BlazorWebAssemblySupabaseTemplate/Shared/MainLayout.razor.cs index a3f0f1ef..2f89e11e 100644 --- a/Examples/BlazorWebAssemblySupabaseTemplate/Shared/MainLayout.razor.cs +++ b/Examples/BlazorWebAssemblySupabaseTemplate/Shared/MainLayout.razor.cs @@ -12,7 +12,7 @@ void DrawerToggle() private async Task OnClickLogout() { await AuthService.Logout(); - Snackbar.Add("Logout successfull"); + Snackbar.Add("Logout successful"); NavigationManager.NavigateTo($"/"); } } \ No newline at end of file