Swap let for const

This commit is contained in:
Andrew Kingston 2023-10-20 09:19:05 +01:00
parent 357f495c0d
commit 8d2530d4c8
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@
// Delete numeric only widths as these are grid widths and should be // Delete numeric only widths as these are grid widths and should be
// ignored // ignored
let width = fixedSchema[fieldName].width const width = fixedSchema[fieldName].width
if (width != null && `${width}`.trim().match(/^[0-9]+$/)) { if (width != null && `${width}`.trim().match(/^[0-9]+$/)) {
delete fixedSchema[fieldName].width delete fixedSchema[fieldName].width
} }