Skip to content

Commit 7524ff8

Browse files
committed
add version to splash screen
Signed-off-by: Shan He <[email protected]>
1 parent 3551173 commit 7524ff8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/App.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ const MAPBOX_ACCESS_TOKEN =
7878

7979
// begin constants to move to another file later
8080
// material ui styles
81+
const KEPLER_GL_VERSION = '__PACKAGE_VERSION__';
82+
8183
const styles = theme => ({
8284
root: {
8385
display: 'flex'
@@ -807,6 +809,7 @@ class App extends Component {
807809
>
808810
<img src={kepLogo} />
809811
</a>
812+
<p className="info">Version: {KEPLER_GL_VERSION}</p>
810813
</React.Fragment>
811814
}
812815
/>

0 commit comments

Comments
 (0)