Skip to content

Commit

Permalink
🚨 再代入されない変数をconst宣言に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEKE320 committed Apr 13, 2024
1 parent a669a5e commit 1a184b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion astro/src/components/Client/intents/callPopup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const callPopup = (popupOptions: popupOptions): void => {
"",
)
} else {
let e: Error = new Error(
const e: Error = new Error(
"intentInfoへ対応していないサービスが指定されました。",
)
e.name = "popup.ts"
Expand Down
2 changes: 1 addition & 1 deletion astro/src/components/Client/pagedb/PageDeleteButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Component = ({
setProcessing(true)
try {
if (session.did === "" || session.accessJwt === "") {
let e: Error = new Error(
const e: Error = new Error(
"フロントエンドが想定していない操作が行われました。",
)
e.name = "Unexpected Error@pagedelete.tsx"
Expand Down

0 comments on commit 1a184b7

Please sign in to comment.