This repository has been archived on 2026-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
graphicsbay-tracker/src/components/pricing/GPUDataInterface.js
T

25 lines
593 B
JavaScript

import { React } from "react"
import { useState,useEffect } from "react"
import { Link } from "react-router-dom"
export const GPUDataInterface = () => {
const [gpucarddata, fetchgpucarddata] = useState([])
useEffect(
() => {
fetch("http://localhost:8088/cardData")
.then(res => res.json())
.then((data) => {
fetchgpucarddata(data)
})
},
[]
)
return (
<>
<h1>GPUDataInterface</h1>
<div>
<table>
</table>
</div>
</>
)}