[Bug]: JSON.parse without try/catch crashes trackpad component
オープン
- 主要言語
- TypeScript
- スター
- 38
- フォーク
- 78
- 平均マージ
- 2日 3時間
- マージ済み PR(30日)
- 6
説明
The trackpad component reads 'rein_invert' from localStorage and parses it with JSON.parse without error handling. If localStorage contains malformed data, the component crashes.
**File:** src/routes/trackpad.tsx:36
**Fix:** Wrap JSON.parse in try/catch
コントリビューションガイド
評価
この issue はまだ評価されていません。