made it work for ram sticks data

This commit is contained in:
2026-04-03 00:46:19 +10:00
parent abe69ecefc
commit 4a6659f26e
4 changed files with 39 additions and 37 deletions

View File

@@ -1,14 +1,12 @@
import { useState } from 'react'
import Table from './components/Table.jsx';
import buildings from './data.js';
import ram_sticks from './data.js';
import './CSS/App.css'
function App() {
const [count, setCount] = useState(0)
return (
<div className="App">
<h3>Самые высокие здания и сооружения</h3>
<Table data={ buildings } amountRows="15" />
<Table data={ ram_sticks } amountRows="15" />
</div>
)
}