Skip to content

Commit 83608c0

Browse files
committed
hotfix: quick fixes on unused imports and console.logs from testing
1 parent a0a0dbc commit 83608c0

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"build": "react-scripts build",
3232
"test": "react-scripts test",
3333
"eject": "react-scripts eject",
34-
"now-start": "cd build && serve --single"
34+
"deploy": "yarn build && cd build && now"
3535
},
3636
"eslintConfig": {
3737
"extends": "react-app"

src/app.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ import {
2222
} from './constants/app';
2323
import {
2424
TAGS_KEY,
25-
TIMESTAMP_KEY,
26-
WORDS_TEMP_KEY,
2725
TIMESTAMP_STRING_KEY,
2826
COMPLETE_KEY,
2927
} from './constants/keys';
@@ -137,13 +135,9 @@ export class App extends PureComponent {
137135

138136
const invoiceDetails = Object.keys(decodedInvoice)
139137
.map((key) => {
140-
console.log(key);
141138
switch (key) {
142139
case COMPLETE_KEY:
143140
return null;
144-
// case WORDS_TEMP_KEY:
145-
// case TIMESTAMP_KEY:
146-
// return null;
147141
case TAGS_KEY:
148142
return this.renderInvoiceInnerItem(key);
149143
case TIMESTAMP_STRING_KEY:
@@ -211,7 +205,6 @@ export class App extends PureComponent {
211205

212206
renderInvoiceItem = (key, valuePropFormat) => {
213207
const { decodedInvoice } = this.state;
214-
console.log({decodedInvoice})
215208

216209
let value = `${decodedInvoice[key]}`;
217210
if (

0 commit comments

Comments
 (0)