formatting amount in title

This commit is contained in:
Giulio De Pasquale 2020-12-21 14:33:53 +00:00
parent f931505b58
commit f502ab02b5

View File

@ -90,7 +90,7 @@ class App extends Component<{}, AppState> {
<> <>
<Helmet> <Helmet>
<title> Rustico <title> Rustico
- {String(this.state.active_pair.base) + "/" + String(this.state.active_pair.quote)} {String(this.state.current_price)} </title> - {String(this.state.active_pair.base) + "/" + String(this.state.active_pair.quote)} {String(this.state.current_price.toLocaleString())} </title>
</Helmet> </Helmet>
<div className="bg-gray-800"> <div className="bg-gray-800">
<div className="h-screen max-w-screen flex mx-auto"> <div className="h-screen max-w-screen flex mx-auto">