File tree Expand file tree Collapse file tree 6 files changed +180
-201
lines changed
Expand file tree Collapse file tree 6 files changed +180
-201
lines changed Load Diff This file was deleted.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 44 - path : .yarn/plugins/yarn-up-all-plugin.cjs
55 spec : " https://github.com/e5mode/yarn-up-all/releases/download/1.0.2/index.js"
66
7- yarnPath : .yarn/releases/yarn-2.1.1 .cjs
7+ yarnPath : .yarn/releases/yarn-2.2.2 .cjs
Original file line number Diff line number Diff line change 7070 },
7171 "devDependencies" : {
7272 "concurrently" : " ^5.3.0" ,
73- "electron" : " ^9.2.1 " ,
74- "electron-builder" : " ^22.8.0 " ,
73+ "electron" : " ^10.1.2 " ,
74+ "electron-builder" : " ^22.8.1 " ,
7575 "eslint-config-airbnb" : " ^18.2.0" ,
7676 "eslint-plugin-import" : " ^2.22.0" ,
7777 "eslint-plugin-jsx-a11y" : " ^6.3.1" ,
78- "eslint-plugin-react" : " ^7.20.6 " ,
79- "eslint-plugin-react-hooks" : " ^4.1.0 " ,
78+ "eslint-plugin-react" : " ^7.21.0 " ,
79+ "eslint-plugin-react-hooks" : " ^4.1.2 " ,
8080 "wait-on" : " ^5.2.0"
8181 }
8282}
Original file line number Diff line number Diff line change @@ -24,29 +24,27 @@ const Hash = ({
2424 let compareColor = null ;
2525 let compareIcon = null ;
2626 if ( compareString && compareString === content ) {
27- compareIcon = < CheckIcon color = "inherit" style = { { float : 'right' } } /> ;
27+ compareIcon = < CheckIcon color = "inherit" style = { { float : 'right' } } /> ;
2828 compareColor = { color : 'green' } ;
2929 }
3030
3131 return (
32- < >
33- < Paper className = { classes . paper } >
34- < Typography variant = "subtitle1" color = "primary" gutterBottom >
35- { hashType }
36- { compareIcon }
37- </ Typography >
38- < MenuProvider id = { `hashMenu${ id } ` } >
39- < span style = { compareColor } > { content } </ span >
40- </ MenuProvider >
41- < Menu id = { `hashMenu${ id } ` } >
42- < Item onClick = { ( ) => navigator . clipboard . writeText ( content ) } >
43- < CopyIcon />
44- { ' ' }
45- { copy }
46- </ Item >
47- </ Menu >
48- </ Paper >
49- </ >
32+ < Paper className = { classes . paper } >
33+ < Typography variant = "subtitle1" color = "primary" gutterBottom >
34+ { hashType }
35+ { compareIcon }
36+ </ Typography >
37+ < MenuProvider id = { `hashMenu${ id } ` } >
38+ < span style = { compareColor } > { content } </ span >
39+ </ MenuProvider >
40+ < Menu id = { `hashMenu${ id } ` } >
41+ < Item onClick = { ( ) => navigator . clipboard . writeText ( content ) } >
42+ < CopyIcon />
43+ { ' ' }
44+ { copy }
45+ </ Item >
46+ </ Menu >
47+ </ Paper >
5048 ) ;
5149} ;
5250
You can’t perform that action at this time.
0 commit comments