AOSSIE-Org / AOSSIE-Org/Rein

[Bug]: JSON.parse without try/catch crashes trackpad component

オープン
#308 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。