mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
ONE-10: cleaned up and added changes necessary to push to dev
This commit is contained in:
@ -191,6 +191,7 @@ export default function App() {
|
||||
<Route path="*" element={<Navigate to="/dashboards/analytics" />} />
|
||||
<Route path="/:tableName/create" element={entityCreateElement} key="entity-create" />;
|
||||
<Route path="/:tableName/view/:id" element={entityViewElement} key="entity-view" />;
|
||||
<Route path="/:tableName/edit/:id" element={entityEditElement} key="entity-edit" />;
|
||||
{getRoutes(routes)}
|
||||
</Routes>
|
||||
</ThemeProvider>
|
||||
|
@ -36,7 +36,7 @@ import React, { useState } from "react";
|
||||
import { QTableRecord } from "@kingsrook/qqq-frontend-core/lib/model/metaData/QTableRecord";
|
||||
import MDButton from "../../../../components/MDButton";
|
||||
|
||||
const qController = new QController("http://localhost:8000");
|
||||
const qController = new QController("");
|
||||
|
||||
// Declaring props types for EntityForm
|
||||
interface Props {
|
||||
|
@ -40,7 +40,7 @@ import { QTableMetaData } from "@kingsrook/qqq-frontend-core/lib/model/metaData/
|
||||
import IdCell from "./components/IdCell";
|
||||
import Footer from "../components/Footer";
|
||||
|
||||
const qController = new QController("http://localhost:8000");
|
||||
const qController = new QController("");
|
||||
console.log(qController);
|
||||
|
||||
// Declaring props types for DefaultCell
|
||||
|
@ -45,7 +45,7 @@ import Button from "@mui/material/Button";
|
||||
import { QTableMetaData } from "@kingsrook/qqq-frontend-core/lib/model/metaData/QTableMetaData";
|
||||
import MDButton from "../../../../../components/MDButton";
|
||||
|
||||
const qController = new QController("http://localhost:8000");
|
||||
const qController = new QController("");
|
||||
console.log(qController);
|
||||
|
||||
// Declaring props types for ViewForm
|
||||
|
@ -386,7 +386,7 @@ const qqqRoutes = [
|
||||
{ type: "title", title: "Tables", key: "title-docs" },
|
||||
];
|
||||
|
||||
const qController = new QController("http://localhost:8000");
|
||||
const qController = new QController("");
|
||||
console.log(qController);
|
||||
|
||||
(async () => {
|
||||
|
@ -546,7 +546,7 @@ const routes = [
|
||||
},
|
||||
];
|
||||
|
||||
const qController = new QController("http://localhost:8000");
|
||||
const qController = new QController("");
|
||||
console.log(qController);
|
||||
|
||||
(async () => {
|
||||
|
Reference in New Issue
Block a user