diff --git a/api/utils.py b/api/utils.py
index 85333355..e185c3f9 100644
--- a/api/utils.py
+++ b/api/utils.py
@@ -5,7 +5,7 @@ import ring
storage = {}
-@ring.dict(storage, expire=60) #keeps in cache for 60 secs
+@ring.dict(storage, expire=10) #keeps in cache for 10 seconds
def get_exchange_rate(currency):
# TODO Add fallback Public APIs and error handling
# Think about polling price data in a different way (e.g. store locally every t seconds)
diff --git a/frontend/src/components/BookPage.js b/frontend/src/components/BookPage.js
index 0941045f..9facc01e 100644
--- a/frontend/src/components/BookPage.js
+++ b/frontend/src/components/BookPage.js
@@ -1,5 +1,5 @@
import React, { Component } from "react";
-import { Box, Button , Divider, CircularProgress, ListItemButton, Typography, Grid, Select, MenuItem, FormControl, FormHelperText, List, ListItem, ListItemText, Avatar, RouterLink, ListItemAvatar} from "@mui/material";
+import { Paper, Button , Divider, CircularProgress, ListItemButton, Typography, Grid, Select, MenuItem, FormControl, FormHelperText, List, ListItem, ListItemText, Avatar, RouterLink, ListItemAvatar} from "@mui/material";
import { Link } from 'react-router-dom'
export default class BookPage extends Component {
@@ -117,59 +117,6 @@ export default class BookPage extends Component {
));
}
-//
-//
-
-// this.handleCardClick(order.id)}>
-//
-
-//
-//
-//
-//
-//
-//
-//
-// {order.maker_nick}
-//
-//
-//
-
-// {/* CARD PARAGRAPH CONTENT */}
-//
-//
-// ◑{order.type == 0 ? Buys : Sells }
-// {parseFloat(parseFloat(order.amount).toFixed(4))}
-// {" " +this.getCurrencyCode(order.currency)} worth of bitcoin
-//
-
-//
-// ◑ Payment via {order.payment_method}
-//
-// {/*
-//
-// ◑ Priced {order.is_explicit ?
-// " explicitly at " + this.pn(order.satoshis) + " Sats" : (
-// " at " +
-// parseFloat(parseFloat(order.premium).toFixed(4)) + "% over the market"
-// )}
-// */}
-
-//
-// ◑ {" 42,354 "}{this.getCurrencyCode(order.currency)}/BTC (Binance API)
-//
-//
-
-//
-
-//
-//
-//
-//
-
render() {
return (
@@ -248,9 +195,13 @@ export default class BookPage extends Component {
)
:
-
- {this.bookListItems()}
-
+
+
+
+ {this.bookListItems()}
+
+
+
}