fixed comment

This commit is contained in:
vabene1111
2025-01-01 10:07:49 +01:00
parent 8159838fc3
commit 34f337290c

View File

@@ -37,7 +37,7 @@ export function useModelEditorFunctions<T>(modelName: EditorSupportedModels, emi
})
/**
* add event listener to page unload event (also triggered by router) to prevent accidentally closing with unsaved changes
* add event listener to page unload event to prevent accidentally closing with unsaved changes
*/
function setupPageLeaveWarning() {
window.onbeforeunload = (event) => {