Skip to content

Commit

Permalink
🚨 使用されないエラー変数にアンダースコアを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEKE320 committed Apr 7, 2024
1 parent d5221f3 commit 5dde2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astro/src/components/Client/bsky/unique/TextInputBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const Component = ({
})
const segments = segmenterJa.segment(postText)
return Array.from(segments).length
} catch (e) {
} catch (_e) {
// Intl.Segmenterがfirefoxでは未対応であるため、やむをえずレガシーな方法で対処
// 絵文字のカウント数が想定より多く設定されてしまうため、firefox_v125までは非推奨ブラウザとする
return postText.length
Expand Down

0 comments on commit 5dde2ec

Please sign in to comment.