Skip to content

Commit f199fa3

Browse files
committed
Apply suggestions from code review
1 parent 87c0fc9 commit f199fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Components/src/PersistentComponentState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public PersistingComponentStateSubscription RegisterOnPersisting(Func<Task> call
5858

5959
if (PersistingState)
6060
{
61-
throw new InvalidOperationException("Registering a callback during while persisting state is not allowed.");
61+
throw new InvalidOperationException("Registering a callback while persisting state is not allowed.");
6262
}
6363

6464
var persistenceCallback = new PersistComponentStateRegistration(callback, renderMode);

0 commit comments

Comments
 (0)