Update build.js

This commit is contained in:
Werner
2023-06-08 17:06:01 -03:00
parent 8d61353be0
commit bf9934c937

View File

@ -6,7 +6,7 @@ import { Container, Row, Col } from 'react-bootstrap';
export default function Home() {
const [instructionStatus, setInstructionStatus] = useState([]);
const geraTabelaParaInserirInstrucoes = (nInst) => {
let tabela = [];
for (let i = 0; i < nInst; i++) {
@ -66,7 +66,7 @@ export default function Home() {
}
return tabela;
};
const handleGenerateTable = (event) => {
const nInst = event.target.value;
setInstructionStatus(geraTabelaParaInserirInstrucoes(nInst));
@ -105,7 +105,7 @@ export default function Home() {
</Row>
<Row>
<Col>
<Table bordered striped>
<Table bordered>
<thead>
<tr>
<th>Instrução</th>