This repository was archived by the owner on Mar 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11
11
}
12
12
},
13
13
"dependencies" : {
14
- "moment" : " 2.22.1 " ,
15
- "prismjs" : " 1.14 .0" ,
16
- "react" : " 16.4.0 " ,
17
- "react-clipboard.js" : " 1.1.3 " ,
18
- "react-datepicker" : " 1.4.1 " ,
19
- "react-dom" : " 16.4.0 " ,
20
- "react-moment" : " 0.7.0 " ,
14
+ "moment" : " 2.22.2 " ,
15
+ "prismjs" : " 1.15 .0" ,
16
+ "react" : " 16.4.1 " ,
17
+ "react-clipboard.js" : " 2.0.0 " ,
18
+ "react-datepicker" : " 1.5.0 " ,
19
+ "react-dom" : " 16.4.1 " ,
20
+ "react-moment" : " 0.7.9 " ,
21
21
"react-prism" : " 4.3.2" ,
22
22
"react-qr-svg" : " 2.1.0" ,
23
- "react-responsive" : " 4.1 .0" ,
24
- "react-router" : " 4.2.0 " ,
25
- "react-router-dom" : " 4.2.2 " ,
23
+ "react-responsive" : " 5.0 .0" ,
24
+ "react-router" : " 4.3.1 " ,
25
+ "react-router-dom" : " 4.3.1 " ,
26
26
"react-scripts" : " 1.1.4" ,
27
27
"react-table" : " 6.8.6" ,
28
- "semantic-ui-css" : " 2.3.1 " ,
29
- "semantic-ui-react" : " 0.80.2 " ,
28
+ "semantic-ui-css" : " 2.3.3 " ,
29
+ "semantic-ui-react" : " 0.82.1 " ,
30
30
"toastr" : " 2.1.4"
31
31
},
32
32
"scripts" : {
Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ export default class HomeComponent extends Component {
66
66
return (
67
67
< div >
68
68
< Segment raised >
69
- { this . urlParams . get ( "customUrl" ) && (
69
+ { this . urlParams . get ( "customUrl" ) ? (
70
70
< Header size = 'medium' > I don't have a link named < em > "{ this . urlParams . get ( "customUrl" ) } "</ em > in my database, would
71
71
you like to create one?</ Header >
72
- ) ||
72
+ ) :
73
73
< Header size = 'huge' > Simplify your links</ Header >
74
74
}
75
75
< Form onSubmit = { this . handleURLSubmit } autoComplete = "off" >
You can’t perform that action at this time.
0 commit comments