diff --git a/.gitignore b/.gitignore index 8692cf6..4d6a4fd 100644 --- a/.gitignore +++ b/.gitignore @@ -10,13 +10,16 @@ # production /build +build.zip # misc .DS_Store .env .env.local +.env.development .env.development.local .env.test.local +.env.production .env.production.local npm-debug.log* diff --git a/src/components/root/common/Forms/CPanelBooking.js b/src/components/root/common/Forms/CPanelBooking.js index c73c3d1..fc18041 100644 --- a/src/components/root/common/Forms/CPanelBooking.js +++ b/src/components/root/common/Forms/CPanelBooking.js @@ -48,7 +48,7 @@ export const CPanelBooking = (timeslots) => { const onSubmit = async (values, { setSubmitting, resetForm }) => { console.log(values); callAPI - .post("/", values) + .post("/book/", values) .then(function (response) { // console.log(response); // add function here diff --git a/src/components/root/common/Tables/CompTable.js b/src/components/root/common/Tables/CompTable.js index f24d899..e584a2b 100644 --- a/src/components/root/common/Tables/CompTable.js +++ b/src/components/root/common/Tables/CompTable.js @@ -152,6 +152,7 @@ const CompTable = (props) => { hover condensed key={columns.id} + keyField="id" />