🔧 Simplify arrow function syntax in watch callback

This commit is contained in:
2026-01-28 20:06:39 +00:00
parent 8ca0c4b68c
commit bee38e5eaa

View File

@@ -423,7 +423,7 @@ useKeyboardShortcuts({
}); });
// Watch selectedFile changes to load the file // Watch selectedFile changes to load the file
watch(selectedFile, (newFile) => { watch(selectedFile, newFile => {
if (newFile) { if (newFile) {
loadFile(); loadFile();
} }