Why didnt i use const here?

This commit is contained in:
Jackson Harper
2022-12-30 11:22:49 +08:00
parent 194d93912c
commit c3084d668e

View File

@ -31,7 +31,7 @@ export function SetLabelsModal(props: SetLabelsModalProps): JSX.Element {
return false
}
for (let label of left) {
for (const label of left) {
if (!right.find((r) => label.id == r.id)) {
return false
}