Skip to content

Commit

Permalink
Fix null reference exception (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
gracefaz authored Mar 19, 2024
1 parent 21a1fa5 commit 6e2959a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Blazored.Toast/BlazoredToasts.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ private ToastSettings BuildCustomToastSettings(Action<ToastSettings>? settings)
instanceToastSettings.PauseProgressOnHover ??= PauseProgressOnHover;
instanceToastSettings.ExtendedTimeout ??= ExtendedTimeout;
instanceToastSettings.Position ??= Position;
instanceToastSettings.ShowProgressBar ??= ShowProgressBar;

return instanceToastSettings;
}
Expand Down

0 comments on commit 6e2959a

Please sign in to comment.