Style tweaks
This commit is contained in:
parent
e0f05f43a6
commit
1dbbf8fc01
5 changed files with 4 additions and 3 deletions
|
@ -48,7 +48,6 @@ var App = React.createClass({
|
|||
_isMounted: false,
|
||||
_version: null,
|
||||
|
||||
// Temporary workaround since electron-dl throws errors when you try to get the filename
|
||||
getDefaultProps: function() {
|
||||
return {
|
||||
address: window.location.search
|
||||
|
|
|
@ -39,6 +39,7 @@ lbryio.call = function(resource, action, params, method='get') {
|
|||
|
||||
console.log('about to create xhr object');
|
||||
const xhr = new XMLHttpRequest;
|
||||
|
||||
xhr.addEventListener('error', function (error) {
|
||||
console.log('received XHR error:', error);
|
||||
reject(error);
|
||||
|
|
|
@ -147,6 +147,7 @@ var DiscoverPage = React.createClass({
|
|||
|
||||
componentWillMount: function() {
|
||||
document.title = "Discover";
|
||||
|
||||
if (this.props.query) {
|
||||
// Rendering with a query already typed
|
||||
this.handleSearchChanged(this.props.query);
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import React from 'react';
|
||||
import lbry from '../lbry.js';
|
||||
import lbryio from '../lbryio.js';
|
||||
import {CreditAmount} from '../component/common.js';
|
||||
import Modal from '../component/modal.js';
|
||||
import {Link} from '../component/link.js';
|
||||
import lbryio from '../lbryio.js';
|
||||
|
||||
const RewardTile = React.createClass({
|
||||
propTypes: {
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
@import "component/_tooltip.scss";
|
||||
@import "component/_load-screen.scss";
|
||||
@import "component/_channel-indicator.scss";
|
||||
@import "component/_notice.scss";
|
||||
@import "component/_modal-page.scss";
|
||||
@import "page/_developer.scss";
|
||||
@import "page/_watch.scss";
|
||||
@import "page/_reward.scss";
|
||||
@import "component/_notice.scss";
|
||||
|
|
Loading…
Reference in a new issue