Improve currencies.js #481
Labels
App:Frontend
Kind:Enhancement
Improvements, new features, performance upgrades, etc.
Level:Starter
Note:Up-for-grabs
Good candidates for newcomers, because we *think* nobody is working on currently.
Problem
Not much thought has been given to the file
currencies.js
. It was always planned that this file would be rewritten at some point, but one real simple and obvious issue with it is that it has an unnecessary function in it calledsymbol
.This is the entirety of the file:
Solution
CURRENCIES
should be exported directly, and not as the default exportThis way, instead of doing:
You'd do something more like:
The text was updated successfully, but these errors were encountered: