Style tweaks

This commit is contained in:
Alex Liebowitz 2017-04-01 02:54:56 -04:00 committed by Jeremy Kauffman
parent e0f05f43a6
commit 1dbbf8fc01
5 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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);

View file

@ -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);

View file

@ -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: {

View file

@ -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";