Skip to content

Commit

Permalink
ajustes
Browse files Browse the repository at this point in the history
  • Loading branch information
CaioCesarRocha committed May 8, 2021
1 parent c95a7ea commit ad19104
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/DataTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ const DataTable = () => {
{page.content?.map(x => (
<tr key={x.id}>
<td>{formatLocalDate(x.date, "dd/MM/yyyy")}</td>
<td>x.seller.name</td>
<td>x.visited</td>
<td>x.deals</td>
<td>x.amount.toFixed(2)</td>
<td>{x.seller.name}</td>
<td>{x.visited}</td>
<td>{x.deals}</td>
<td>{x.amount.toFixed(2)}</td>
</tr>
))};
))}
</tbody>
</table>
</div>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/utils/requests.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const BASE_URL = process.env.REACT_APP_BACKEND_URL ?? 'https://localhost:8080';
export const BASE_URL = 'https://sds3-caiorocha.herokuapp.com';
//export const BASE_URL = 'http://localhost:8080';

0 comments on commit ad19104

Please sign in to comment.