general random quick fixes, added a few things to the env, and typo fixes
This commit is contained in:
parent
9d499eb986
commit
1050709fd2
3
.gitignore
vendored
3
.gitignore
vendored
@ -10,13 +10,16 @@
|
|||||||
|
|
||||||
# production
|
# production
|
||||||
/build
|
/build
|
||||||
|
build.zip
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
|
.env.development
|
||||||
.env.development.local
|
.env.development.local
|
||||||
.env.test.local
|
.env.test.local
|
||||||
|
.env.production
|
||||||
.env.production.local
|
.env.production.local
|
||||||
|
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|||||||
@ -48,7 +48,7 @@ export const CPanelBooking = (timeslots) => {
|
|||||||
const onSubmit = async (values, { setSubmitting, resetForm }) => {
|
const onSubmit = async (values, { setSubmitting, resetForm }) => {
|
||||||
console.log(values);
|
console.log(values);
|
||||||
callAPI
|
callAPI
|
||||||
.post("/", values)
|
.post("/book/", values)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
// console.log(response);
|
// console.log(response);
|
||||||
// add function here
|
// add function here
|
||||||
|
|||||||
@ -152,6 +152,7 @@ const CompTable = (props) => {
|
|||||||
hover
|
hover
|
||||||
condensed
|
condensed
|
||||||
key={columns.id}
|
key={columns.id}
|
||||||
|
keyField="id"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<ExportCSVButton {...props.csvProps} key={columns}>
|
<ExportCSVButton {...props.csvProps} key={columns}>
|
||||||
|
|||||||
Reference in New Issue
Block a user