// import { MutableRefObject, useRef } from "react";
import { DndProvider } from "react-dnd";
// import Editor from "@/page/App";
import TabsComponent from "@/TabHolder";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function App(props: any) {
  // const { id } = useParams();
  const currentUserLanguage = "en-US";
  const dragOptions = {
    enableTouchEvents: true,
    enableMouseEvents: true,
  };
  // const { i18n } = useTranslation();

  // useEffect(() => {
  //   if (currentUserLanguage) {
  //     i18n.changeLanguage(currentUserLanguage);
  //   }
  //   // axios.get(`${"http://52.183.132.161/backend"}/api/apps/${"native"}`).then((res) => {
  //   //   localStorage.setItem("pageConfig", JSON.stringify(res.data.config));
  //   // });
  // }, [currentUserLanguage, i18n])
  return (
    <>
      <div style={{ boxSizing: "border-box", overflow: "hidden" }}>
 
           <TabsComponent />
  
      </div>
    </>
  );
}
export default App;
