update App.js

This commit is contained in:
joseph le 2023-10-02 10:20:37 +07:00
parent 2aae571780
commit b1522790fe
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import React, { useEffect, useState } from "react";
import axios from "axios";
import "./App.css"
import "./App.css";
const App = () => {
const [allProducts, setAllProducts] = useState([]);
@ -22,7 +22,7 @@ const App = () => {
<h1>Demo Git Webhook</h1>
{allProducts.map((pro) => (
<div>
<h3 style={{backgroundColor:"yellow"}}>SN: {pro.SN}</h3>
<h3 style={{ backgroundColor: "yellow" }}>SN: {pro.SN}</h3>
<p>PID: {pro.PID}</p>
<p>VID: {pro.VID}</p>
<p>File: {pro.fileName}</p>