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 React from "react";
|
||||||
|
import lbry from "../lbry.js";
|
||||||
import lbryio from "../lbryio.js";
|
import lbryio from "../lbryio.js";
|
||||||
import Modal from "./modal.js";
|
import Modal from "./modal.js";
|
||||||
import ModalPage from "./modal-page.js";
|
import ModalPage from "./modal-page.js";
|
||||||
|
@ -194,7 +195,7 @@ class CodeRequiredStage extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
this._balanceSubscribeId = nullp
|
this._balanceSubscribeId = null
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
balance: 0,
|
balance: 0,
|
||||||
|
|
|
@ -110,7 +110,7 @@ lbryio.authenticate = function() {
|
||||||
lbry.status().then((response) => {
|
lbry.status().then((response) => {
|
||||||
|
|
||||||
let installation_id = response.installation_id;
|
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() {
|
function setCurrentUser() {
|
||||||
lbryio.call('user', 'me').then((data) => {
|
lbryio.call('user', 'me').then((data) => {
|
||||||
|
|
Loading…
Reference in a new issue