Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- releasing issue after testing to production
- git checkout master
- git pull origin master
- git checkout -b hotfix/branch name
- git cherry-pick 39e496f
- git push -u origin hotfix/branch name
- then create a PR to master
- {
- Header: "Balance",
- id: "balance",
- accessor: wallet => {
- return(
- <NumberFormat
- value={wallet.balance}
- displayType={'text'}
- thousandSeparator={true}
- />
- )
- },
- style: {
- textAlign: 'center'
- },
- },
- handleZarInput = (e) => {
- e.preventDefault();
- const { value } = e.target;
- if (value === '0') {
- this.setState({
- [e.target.name]: '0.00'
- })
- } else {
- const strippedInput = value.replace(/\./, '');
- const parsedInput = (parseFloat(strippedInput) / 100).toFixed(2).toString()
- console.log('parsed', parsedPrice)
- this.setState({
- [e.target.name]: parsedInput
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement