config changes

This commit is contained in:
Kenneth Jannette
2025-02-20 21:40:15 -05:00
parent 2b48963a9c
commit c90866695e
2 changed files with 7 additions and 19 deletions

View File

@@ -30,7 +30,6 @@ const Vehicles = () => {
const handleIdInput = (e) => setVehId(e.target.value);
const handleChange = (e) => {
console.log(e);
setInputs((prevState) => ({
...prevState,
[e.target.name]: e.target.value,
@@ -95,7 +94,6 @@ const Vehicles = () => {
async function addData(e) {
e.preventDefault();
//format(e);
console.log("inpiuts", inputs);
setSavedVehicles([...savedVehicles, inputs]);
try {
const docRef = await addDoc(collection(db, "hdepot"), inputs);

View File

@@ -1,18 +1,8 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import React from "react";
import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(<App />);