diff --git a/docs/walkthroughs/saving-and-loading-html-content.md b/docs/walkthroughs/saving-and-loading-html-content.md index ca6b77acc..a0aea1b00 100644 --- a/docs/walkthroughs/saving-and-loading-html-content.md +++ b/docs/walkthroughs/saving-and-loading-html-content.md @@ -213,7 +213,7 @@ And finally, now that we have our serializer initialized, we can update our app ```js // Load the initial state from Local Storage or a default. const initialState = ( - localStorage.get('content') || + localStorage.getItem('content') || '
' )