Skip to content

Commit

Permalink
garbage collector
Browse files Browse the repository at this point in the history
  • Loading branch information
Nobatgeldi committed Oct 10, 2023
1 parent 6d947ff commit cf0b946
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@
"antd": "^5.9.4",
"axios": "^1.5.1",
"bootstrap": "^5.1.3",
"cors": "^2.8.5",
"d3-ease": "^3.0.1",
"disqus-react": "^1.1.1",
"emailjs-com": "^3.2.0",
"firebase": "^10.4.0",
"framer-motion": "^10.16.4",
"google-map-react": "^2.1.10",
"gtag-ga": "^1.0.3",
"leva": "^0.9.35",
"maath": "^0.9.0",
"react": "^18.2.0",
Expand All @@ -32,7 +29,6 @@
"react-circular-progressbar": "^2.0.4",
"react-countup": "^6.4.2",
"react-dom": "^18.2.0",
"react-ga": "^3.3.1",
"react-ga4": "^2.1.0",
"react-helmet": "^6.1.0",
"react-icons": "^4.2.0",
Expand All @@ -43,8 +39,6 @@
"react-slick": "^0.29.0",
"react-tabs": "^6.0.2",
"react-typed": "^1.2.0",
"reactjs-popup": "^2.0.6",
"resend": "^1.1.0",
"sass": "^1.49.10",
"three": "^0.156.1",
"valtio": "^1.11.2",
Expand Down
Binary file added public/covisart/images/ngs/JustSim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 1 addition & 6 deletions src/covisart/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@ import Simulator from './Simulator'
import { state } from './store'
import Configuration from './Configuration'
import Email from './system/SendMail';
import { initializeGtag, gtag } from 'gtag-ga';
import ReactGA from "react-ga4";
import { initializeApp } from "firebase/app";
import { getAnalytics, logEvent } from "firebase/analytics";
import { uploadData } from './system/OrderRequest';
import Popup from 'reactjs-popup';
import 'reactjs-popup/dist/index.css';
import { Form } from 'react-router-dom';

const firebaseConfig = {
apiKey: "AIzaSyBRfVZpE4dKAjxq6zB7ja-H8Oo9TWaCiJg",
Expand Down Expand Up @@ -191,7 +186,7 @@ const Product = () => {
<input required type='text' placeholder="Name" onChange={(e) => { state.name = e.currentTarget.value }} />
<input required type='text' placeholder="Phone" onChange={(e) => { state.phone = e.currentTarget.value }} />
<input required type='email' placeholder="E-mail" onChange={(e) => { state.email = e.currentTarget.value }} />
<input className="btn-default btn-border" type="submit" value="Order"></input >
<button className="btn-default btn-border" type="submit" value="Order">Order</button >
</Space>
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/covisart/system/OrderRequest.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Axios from "axios";

export const uploadData = async (state) => {
export const uploadData = (state) => {
const data = {
email: state.email,
name: state.name,
Expand All @@ -13,7 +13,7 @@ export const uploadData = async (state) => {
"string"
]
}
await Axios.post("https://ngsmarket.azurewebsites.net/api/Orders/", data,)
Axios.post("https://ngsmarket.azurewebsites.net/api/Orders/", data,)
.then((res) => {
console.log(res)
})
Expand Down

0 comments on commit cf0b946

Please sign in to comment.