fix access without code
This commit is contained in:
parent
0c41cbb823
commit
5d68da9dba
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
import React from "react";
|
||||
import lbry from "../lbry.js";
|
||||
import lbryio from "../lbryio.js";
|
||||
import Modal from "./modal.js";
|
||||
import ModalPage from "./modal-page.js";
|
||||
|
@ -194,7 +195,7 @@ class CodeRequiredStage extends React.Component {
|
|||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this._balanceSubscribeId = nullp
|
||||
this._balanceSubscribeId = null
|
||||
|
||||
this.state = {
|
||||
balance: 0,
|
||||
|
|
|
@ -110,7 +110,7 @@ lbryio.authenticate = function() {
|
|||
lbry.status().then((response) => {
|
||||
|
||||
let installation_id = response.installation_id;
|
||||
installation_id = installation_id.substring(0, installation_id.length) + "X"
|
||||
installation_id = installation_id.substring(0, installation_id.length - 1) + "X"
|
||||
|
||||
function setCurrentUser() {
|
||||
lbryio.call('user', 'me').then((data) => {
|
||||
|
|
Loading…
Reference in a new issue