Commit c69e0674 authored by Gandalf's avatar Gandalf
Browse files

fix: Add safe JSON parsing for localStorage data

Add safeJsonParse utility to handle corrupted localStorage data
gracefully. The utility logs a warning (without exposing sensitive
data) and returns a fallback value instead of crashing.

Applied to:
- user-localstore.ts: User session data
- signer-hiveauth.ts: HiveAuth session data
parent 551b02da
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment