Skip to content

Commit

Permalink
Revert "revert try fix frontend"
Browse files Browse the repository at this point in the history
This reverts commit 918d031.
  • Loading branch information
gocampo committed Jul 27, 2023
1 parent 96c4db5 commit dbc6468
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ function App() {
return (
<div className="App">
<div>
<div>

<div>
<img id={'photo'} src={dataUri} alt='' style={{ display: 'none' }} />
</div>
Expand All @@ -164,7 +162,6 @@ function App() {
>
</canvas>
)}
</div>

<div>
{isProcessing && (
Expand All @@ -185,12 +182,12 @@ function App() {
<h1>Total: $ {apiResponse.totalAmount}</h1>
</div>
<div className="col">
<h1>Peso: {apiResponse.totalWeight}</h1>
<h1>Peso: {apiResponse.totalWeight} gs</h1>
</div>
</div>
</div>
<div className="d-flex justify-content-center">
<button className="btn btn-primary d-inline-flex align-items-center" type="button" onClick={handleCanvasTouch} >Reiniciar</button>
<div className="d-flex gap-2 justify-content-center py-2">
<button className="btn btn-primary rounded-pill px-3" type="button" onClick={handleCanvasTouch} >Reiniciar</button>
</div>
</div>
)}
Expand Down

0 comments on commit dbc6468

Please sign in to comment.