Skip to content

Commit

Permalink
🐛 Fixed error message not passed to OnErrorCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelJansson committed Jul 15, 2023
1 parent d1b923d commit 242fa5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ BenchmarkDotNet.Artifacts/
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json

# ASP.NET Scaffolding
ScaffoldingReadMe.txt
Expand Down
2 changes: 1 addition & 1 deletion src/BlazorTurnstile/Turnstile.razor
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
{
Token = null;
await TokenChanged.InvokeAsync(Token);
await OnErrorCallback.InvokeAsync();
await OnErrorCallback.InvokeAsync(message);
}

public async ValueTask DisposeAsync()
Expand Down

0 comments on commit 242fa5b

Please sign in to comment.