File tree Expand file tree Collapse file tree 4 files changed +1532
-1582
lines changed Expand file tree Collapse file tree 4 files changed +1532
-1582
lines changed Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"homepage" : " https://perseids-project.github.io/beta-code-js/" ,
6
6
"dependencies" : {
7
- "beta-code-js" : " ^1.0.6 " ,
7
+ "beta-code-js" : " ^1.0.8 " ,
8
8
"bootstrap" : " ^4.3.1" ,
9
- "eslint-config-airbnb" : " ^17.1 .1" ,
10
- "eslint-plugin-jest" : " ^22.7 .2" ,
11
- "gh-pages" : " ^2.0 .1" ,
9
+ "eslint-config-airbnb" : " ^18.0 .1" ,
10
+ "eslint-plugin-jest" : " ^22.15 .2" ,
11
+ "gh-pages" : " ^2.1 .1" ,
12
12
"perseids-react-components" : " ^0.1.1" ,
13
13
"prop-types" : " ^15.7.2" ,
14
- "react" : " ^16.8.6 " ,
14
+ "react" : " ^16.9.0 " ,
15
15
"react-clipboard.js" : " ^2.0.13" ,
16
- "react-dom" : " ^16.8.6 " ,
16
+ "react-dom" : " ^16.9.0 " ,
17
17
"react-router-dom" : " ^5.0.1" ,
18
- "react-scripts" : " 3.0 .1" ,
18
+ "react-scripts" : " 3.1 .1" ,
19
19
"typeface-tinos" : " ^0.0.72"
20
20
},
21
21
"scripts" : {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import Converter from '../Converter';
8
8
9
9
const App = ( ) => (
10
10
< Router basename = { process . env . PUBLIC_URL } >
11
- < React . Fragment >
11
+ < >
12
12
< PerseidsHeader >
13
13
Greek Beta Code Converter
14
14
</ PerseidsHeader >
@@ -23,7 +23,7 @@ const App = () => (
23
23
report = "https://github.com/perseids-project/beta-code-js"
24
24
github = "https://github.com/perseids-project/beta-code-js/issues"
25
25
/>
26
- </ React . Fragment >
26
+ </ >
27
27
</ Router >
28
28
) ;
29
29
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import Clipboard from 'react-clipboard.js';
5
5
import styles from './Converter.module.css' ;
6
6
7
7
class Converter extends Component {
8
- state = {
9
- beta : '' ,
10
- unicode : '' ,
11
- }
12
-
13
8
constructor ( props ) {
14
9
super ( props ) ;
15
10
11
+ this . state = {
12
+ beta : '' ,
13
+ unicode : '' ,
14
+ } ;
15
+
16
16
this . handleBetaChange = this . handleBetaChange . bind ( this ) ;
17
17
this . handleUnicodeChange = this . handleUnicodeChange . bind ( this ) ;
18
18
}
@@ -39,7 +39,7 @@ class Converter extends Component {
39
39
const { beta, unicode } = this . state ;
40
40
41
41
return (
42
- < React . Fragment >
42
+ < >
43
43
< div className = "row pt-4 mb-3" >
44
44
< div className = "col-12 text-center" >
45
45
< h1 className = "h3 font-weight-normal" >
@@ -108,7 +108,7 @@ class Converter extends Component {
108
108
</ Clipboard >
109
109
</ div >
110
110
</ div >
111
- </ React . Fragment >
111
+ </ >
112
112
) ;
113
113
}
114
114
}
You can’t perform that action at this time.
0 commit comments