Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
fix: hardcoded onion URL (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Sep 19, 2019
1 parent cb73bc5 commit 60ae870
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/navigationbar/desktopnavigationbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import PropTypes from 'prop-types';
import injectSheet from 'react-jss';
import View from '../view';
import Button from '../button';
import { network } from '../../constants';
import { navigation } from '../../actions';
import { network, boltzOnion } from '../../constants';

const boltz_logo = require('../../asset/icons/boltz_logo.png');

Expand Down Expand Up @@ -41,7 +41,7 @@ const DeskTopNavigationBar = ({ classes }) => (
className={classes.responsiveBtn}
external
text="Onion URL"
to="http://boltzzzbnus4m7mta3cxmflnps4fp7dueu2tgurstbvrbt6xswzcocyd.onion/"
to={boltzOnion}
/>
<Button
className={classes.responsiveBtn}
Expand Down
5 changes: 3 additions & 2 deletions src/components/navigationbar/mobilenavigationbar.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React from 'react';
import PropTypes from 'prop-types';
import injectSheet from 'react-jss';
import { MdMenu } from 'react-icons/md';
import View from '../view';
import Button from '../button';
import { navigation } from '../../actions';
import { MdMenu } from 'react-icons/md';
import { boltzOnion } from '../../constants';
const boltz_logo = require('../../asset/icons/boltz_logo.png');

class MobileNavigationBar extends React.Component {
Expand Down Expand Up @@ -63,7 +64,7 @@ class MobileNavigationBar extends React.Component {
className={classes.btn}
external
text="Onion URL"
to="http://boltzzzbnus4m7mta3cxmflnps4fp7dueu2tgurstbvrbt6xswzcocyd.onion/"
to={boltzOnion}
/>
<Button
className={classes.btn}
Expand Down

0 comments on commit 60ae870

Please sign in to comment.