Skip to content

Commit

Permalink
Merge pull request #133 from tvthatsme/patch-1
Browse files Browse the repository at this point in the history
Fix typo in comments
  • Loading branch information
streamich authored Mar 1, 2019
2 parents f0242ea + 2ba0c4b commit d850e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useLocalStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const useLocalStorage = <T>(key: string, initialValue?: T, raw?: boolean): [T, (
} catch {
// If user is in private mode or has storage restriction
// localStorage can throw. JSON.parse and JSON.stringify
// cat throw, too.
// can throw, too.
return initialValue;
}
});
Expand Down

0 comments on commit d850e97

Please sign in to comment.