Input id fix

This commit is contained in:
Jerzy Kwiatkowski 2024-01-09 21:35:53 +01:00
parent 9c55f5ea26
commit e47b1ebfcc

View File

@ -6,6 +6,9 @@ function App() {
const [datasetQuarry, setDatasetQuarry] = useState('');
const [tableQuarry, setTableQuarry] = useState('');
const [columns, setColumns] = useState('');
const [datasetQuarry2, setDatasetQuarry2] = useState('');
const [tableQuarry2, setTableQuarry2] = useState('');
const [columns2, setColumns2] = useState('');
const [results, setResults] = useState('');
const [isVisible, setIsVisible] = useState(true);
@ -39,22 +42,22 @@ function App() {
className='datasetL'
type="text"
placeholder="Dataset quarry"
value={datasetQuarry}
onChange={(e) => setDatasetQuarry(e.target.value)}
value={datasetQuarry2}
onChange={(e) => setDatasetQuarry2(e.target.value)}
/>
<input
className='tableL'
type="text"
placeholder="Table quarry"
value={tableQuarry}
onChange={(e) => setTableQuarry(e.target.value)}
value={tableQuarry2}
onChange={(e) => setTableQuarry2(e.target.value)}
/>
<div className="columsL" id="columns-heigh">
<input
type="text"
placeholder="Columns"
value={columns}
onChange={(e) => setColumns(e.target.value)}
value={columns2}
onChange={(e) => setColumns2(e.target.value)}
/>
</div>
</div>}