Commit e744ed33 authored by Kyle Muldoon's avatar Kyle Muldoon

removed axios from checkout component

parent 520fc712
...@@ -5,8 +5,7 @@ import PaymentMethod from './PaymentMethod.js' ...@@ -5,8 +5,7 @@ import PaymentMethod from './PaymentMethod.js'
import ReviewOrder from './ReviewOrder.js' import ReviewOrder from './ReviewOrder.js'
import SubmitOrder from './SubmitOrder.js' import SubmitOrder from './SubmitOrder.js'
import './checkout.css' import './checkout.css'
// import orderApi from './../../util/order-api'
import axios from 'axios'
export default function Checkout() { export default function Checkout() {
...@@ -156,7 +155,6 @@ export default function Checkout() { ...@@ -156,7 +155,6 @@ export default function Checkout() {
} }
} }
let response = axios.post("http://localhost:8080/api/orders", chrisSpec)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment