import "./chunk-NBMM2TZK.js";

// src/pages/settings/settings.tsx
import { useEffect } from "react";
import { Outlet, useLocation, useNavigate } from "react-router-dom";
import { jsx } from "react/jsx-runtime";
var Settings = () => {
  const navigate = useNavigate();
  const location = useLocation();
  useEffect(() => {
    if (location.pathname === "/settings") {
      navigate("/settings/marketplace", { replace: true });
    }
  }, [location.pathname, navigate]);
  return /* @__PURE__ */ jsx(Outlet, {});
};
export {
  Settings as Component
};
