import {
  DevtoolsContextProvider,
  useRoutes
} from "./chunk-34BKYKWL.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-ZEGABPCZ.mjs.map
