🔧 Simplify arrow function syntax in watch callback
This commit is contained in:
@@ -423,7 +423,7 @@ useKeyboardShortcuts({
|
||||
});
|
||||
|
||||
// Watch selectedFile changes to load the file
|
||||
watch(selectedFile, (newFile) => {
|
||||
watch(selectedFile, newFile => {
|
||||
if (newFile) {
|
||||
loadFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user