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 44 "private" : true ,
55 "homepage" : " https://perseids-project.github.io/beta-code-js/" ,
66 "dependencies" : {
7- "beta-code-js" : " ^1.0.6 " ,
7+ "beta-code-js" : " ^1.0.8 " ,
88 "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" ,
1212 "perseids-react-components" : " ^0.1.1" ,
1313 "prop-types" : " ^15.7.2" ,
14- "react" : " ^16.8.6 " ,
14+ "react" : " ^16.9.0 " ,
1515 "react-clipboard.js" : " ^2.0.13" ,
16- "react-dom" : " ^16.8.6 " ,
16+ "react-dom" : " ^16.9.0 " ,
1717 "react-router-dom" : " ^5.0.1" ,
18- "react-scripts" : " 3.0 .1" ,
18+ "react-scripts" : " 3.1 .1" ,
1919 "typeface-tinos" : " ^0.0.72"
2020 },
2121 "scripts" : {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import Converter from '../Converter';
88
99const App = ( ) => (
1010 < Router basename = { process . env . PUBLIC_URL } >
11- < React . Fragment >
11+ < >
1212 < PerseidsHeader >
1313 Greek Beta Code Converter
1414 </ PerseidsHeader >
@@ -23,7 +23,7 @@ const App = () => (
2323 report = "https://github.com/perseids-project/beta-code-js"
2424 github = "https://github.com/perseids-project/beta-code-js/issues"
2525 />
26- </ React . Fragment >
26+ </ >
2727 </ Router >
2828) ;
2929
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import Clipboard from 'react-clipboard.js';
55import styles from './Converter.module.css' ;
66
77class Converter extends Component {
8- state = {
9- beta : '' ,
10- unicode : '' ,
11- }
12-
138 constructor ( props ) {
149 super ( props ) ;
1510
11+ this . state = {
12+ beta : '' ,
13+ unicode : '' ,
14+ } ;
15+
1616 this . handleBetaChange = this . handleBetaChange . bind ( this ) ;
1717 this . handleUnicodeChange = this . handleUnicodeChange . bind ( this ) ;
1818 }
@@ -39,7 +39,7 @@ class Converter extends Component {
3939 const { beta, unicode } = this . state ;
4040
4141 return (
42- < React . Fragment >
42+ < >
4343 < div className = "row pt-4 mb-3" >
4444 < div className = "col-12 text-center" >
4545 < h1 className = "h3 font-weight-normal" >
@@ -108,7 +108,7 @@ class Converter extends Component {
108108 </ Clipboard >
109109 </ div >
110110 </ div >
111- </ React . Fragment >
111+ </ >
112112 ) ;
113113 }
114114}
You can’t perform that action at this time.
0 commit comments