import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
import {
  DevtoolsContextProvider,
  useRoutes
} from "./chunk-SXXO7MP3.mjs";

// src/app/Devtools.tsx
import React from "react";
import { HashRouter } from "react-router-dom";
var Routes = () => {
  return useRoutes();
};
var Devtools = ({ noRouter }) => {
  if (noRouter) {
    return /* @__PURE__ */ React.createElement(DevtoolsContextProvider, null, /* @__PURE__ */ React.createElement(Routes, null));
  }
  return /* @__PURE__ */ React.createElement(DevtoolsContextProvider, null, /* @__PURE__ */ React.createElement(HashRouter, null, /* @__PURE__ */ React.createElement(Routes, null)));
};
var Devtools_default = Devtools;

export {
  Devtools,
  Devtools_default
};
//# sourceMappingURL=chunk-5AHVOSAL.mjs.map
