Commit Graph

4 Commits

Author SHA1 Message Date
Fernando Porazzi
b397420241
Convert prettyNumbers util to Typescript 2022-05-06 12:32:13 +02:00
Reckless_Satoshi
2b44d32b01
Store robot token in cookies. Add renew order after success for makers. 2022-05-03 13:21:04 -07:00
Fernando Porazzi
37d5111779
Pretty numbers (#99)
* Create pn helper function inside utils folder

The function pn() is being defined a few times in different components. This commit is the first of two commits to solve this issue.

This commit only creates the function inside the utils folder.

Jest is also being introduced for unit tests.

* Use pn from utils folder

This commit removes the multiple definitions of pn found across the project and imports the helper function whenever needed.
2022-04-20 13:58:55 -07:00
Fernando Porazzi
7bca5ecdc7
Extract getCookie function into its own file (#94)
The getCookie function was being implemented a couple of times across the pages. These changes create a single implementation and imports the helper function whenever needed.
2022-04-15 16:22:49 +00:00