mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	Remove logging
This commit is contained in:
		| @@ -9,7 +9,6 @@ export function useNavigationWarning() { | ||||
|  * or closing the tab. | ||||
|  */ | ||||
| const activateNavigationWarning = () => { | ||||
|     console.log("ACTIVATE"); | ||||
|     window.onbeforeunload = () => true; | ||||
| } | ||||
|  | ||||
| @@ -17,6 +16,5 @@ const activateNavigationWarning = () => { | ||||
|  * Disables the warning when navigating to a page | ||||
|  */ | ||||
| const deactivateNavigationWarning = () => { | ||||
|     console.log("deACTIVATE"); | ||||
|     window.onbeforeunload = null; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user