File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " open-wallet" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.2 " ,
4
4
"private" : true ,
5
5
"proxy" : {
6
6
"/rpc" : {
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ import { UsingWorkFlow } from './scenes/UsingWorkFlow';
14
14
import './styles/index.css' ;
15
15
import './styles/override.css' ;
16
16
17
- console . log ( 'ui-version: ' , process . env . REACT_APP_VERSION ) ;
17
+ import * as packageJSON from '../package.json' ;
18
+ const version = ( packageJSON as any ) . version ;
19
+ console . log ( 'ui-version: ' , version ) ;
18
20
19
21
export interface IRouterProps extends RouteComponentProps < any > { }
20
22
Original file line number Diff line number Diff line change
1
+ declare module '*.json' {
2
+ const value : any ;
3
+ export default value ;
4
+ }
You can’t perform that action at this time.
0 commit comments