refactor: replace 'let' with 'const' for better variable scoping and immutability

This commit is contained in:
Tunglies
2025-09-18 23:07:18 +08:00
parent 9d96ac0f6a
commit 324628dd3d
17 changed files with 154 additions and 121 deletions

View File

@@ -19,7 +19,7 @@ interface Props {
}
export const GroupItem = (props: Props) => {
let { type, group, onDelete } = props;
const { type, group, onDelete } = props;
const sortable = type === "prepend" || type === "append";
const {