made it work for ram sticks data
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user