Thankfully this wasn't a crasher since it was already in a try/catch, but it was logging a failure that didn't need to be logged! If `localStorage` isn't available (e.g. SSR), just use the initial value. |
||
|---|---|---|
| .. | ||
| app | ||
| server | ||
| shared | ||
| react-app-env.d.ts | ||
Thankfully this wasn't a crasher since it was already in a try/catch, but it was logging a failure that didn't need to be logged! If `localStorage` isn't available (e.g. SSR), just use the initial value. |
||
|---|---|---|
| .. | ||
| app | ||
| server | ||
| shared | ||
| react-app-env.d.ts | ||