// Module ID: 1575 // Function ID: 1576 // Name: usePreventRemoveContext // Dependencies: [19, 1550] // Exports: usePreventRemoveContext // Module 1575 (usePreventRemoveContext) import noop from "noop"; const require = arg1; export const usePreventRemoveContext = function usePreventRemoveContext() { const context = React.useContext(require(1550) /* PreventRemoveContext */.PreventRemoveContext); if (null == context) { const _Error = Error; const error = new Error("Couldn't find the prevent remove context. Is your component inside NavigationContent?"); throw error; } else { return context; } };