Fix download location

This commit is contained in:
Thomas Nordquist
2019-05-02 11:02:18 +02:00
parent b2913c7e0e
commit 12d7d3ab64

View File

@@ -171,7 +171,7 @@ class UpdateNotifier extends React.Component<Props, State> {
{this.renderDownloads()} {this.renderDownloads()}
<Button <Button
className={this.props.classes.download} className={this.props.classes.download}
onClick={this.openGithub} onClick={this.openHomePage}
> >
Github Page Github Page
</Button> </Button>
@@ -181,8 +181,8 @@ class UpdateNotifier extends React.Component<Props, State> {
) )
} }
private openGithub = () => { private openHomePage = () => {
this.openUrl('https://github.com/thomasnordquist/MQTT-Explorer') this.openUrl('https://mqtt-explorer.com')
} }
private openUrl = (url: string) => { private openUrl = (url: string) => {