Skip to content

Commit

Permalink
Fix typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tvthatsme authored Mar 1, 2019
1 parent f0242ea commit 2ba0c4b
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 2ba0c4b

Please sign in to comment.