Skip to content

Commit e94ed0a

Browse files
Fix spelling of "Replace" in part 06 docs (#269)
1 parent 1e86271 commit e94ed0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/06-authentication-and-authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ To configure the authentication system to use our `PizzaAuthenticationState` ins
508508
builder.Services.AddApiAuthorization<PizzaAuthenticationState>();
509509
```
510510

511-
Now we need to add logic to persist the current order, and then reestablish the current order from the persisted state after the user has successfully logged in. To do that, update the `Authentication` component to use `RemoteAuthenticatorViewCore` instead of `RemoteAuthenticatorView`. Override `OnInitialized` to setup the order state to be persisted, and implement the `OnLogInSucceeded` callback to reestablish the order state. You'll need to add a `RepaceOrder` method to `OrderState` so that you can reestablish the saved order.
511+
Now we need to add logic to persist the current order, and then reestablish the current order from the persisted state after the user has successfully logged in. To do that, update the `Authentication` component to use `RemoteAuthenticatorViewCore` instead of `RemoteAuthenticatorView`. Override `OnInitialized` to setup the order state to be persisted, and implement the `OnLogInSucceeded` callback to reestablish the order state. You'll need to add a `ReplaceOrder` method to `OrderState` so that you can reestablish the saved order.
512512

513513
*BlazingPizza.Client/Pages/Authentication.razor*
514514

0 commit comments

Comments
 (0)