import { jsx } from "react/jsx-runtime";
import react from "react";
import { UNSAFE_LocationContext, UNSAFE_RouteContext } from "react-router-dom";
const RouterContextCleaner = /*#__PURE__*/ react.memo((props)=>/*#__PURE__*/ jsx(UNSAFE_RouteContext.Provider, {
        value: {
            outlet: null,
            matches: [],
            isDataRoute: false
        },
        children: /*#__PURE__*/ jsx(UNSAFE_LocationContext.Provider, {
            value: null,
            children: props.children
        })
    }));
RouterContextCleaner.displayName = 'RouterContextCleaner';
export { RouterContextCleaner };
