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