update App.js
This commit is contained in:
parent
2aae571780
commit
b1522790fe
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue