removed old console logs

This commit is contained in:
Isaac Visintainer 2019-07-03 16:48:45 -07:00
parent 963d615ab6
commit 3fde35653c
11 changed files with 1 additions and 20 deletions

View File

@ -47,7 +47,6 @@ export class Blog extends Component {
}
handleError(err) {
console.log("handleError", err);
}
componentWillMount() {

View File

@ -36,7 +36,6 @@ export class Comments extends Component {
content: this.state.commentBody,
}
};
console.log("post comment", comment);
this.setState({
awaiting: {

View File

@ -12,7 +12,6 @@ import { secToString, esoo } from '/lib/util';
export class Elapsed extends Component {
constructor(props) {
super(props);
// console.log('elapsed props...', props);
}
renderTime() {

View File

@ -10,8 +10,6 @@ class Preview extends Component {
buildProps(postId){
let post = this.props.blog.posts[postId];
console.log("blog", this.props.blog);
console.log("post", postId, post);
return {
postTitle: post.post.info.title,
postName: post.post.info.filename,
@ -56,8 +54,6 @@ export class NextPrev extends Component {
render() {
console.log(this.props);
let posts = this.props.blog.order.unpin.slice().reverse();
let postIdx = posts.indexOf(this.props.postId);

View File

@ -141,7 +141,6 @@ export class NewBlog extends Component {
}
returnHome() {
console.log("action return home");
}
render() {

View File

@ -124,8 +124,6 @@ export class NewPost extends Component {
postId: postId,
});
console.log("awaiting", awaiting);
let permissions = {
read: {
mod: 'black',

View File

@ -128,8 +128,6 @@ export class Recent extends Component {
}
render() {
console.log(this.props);
let recent = this.buildRecent();
let body = recent.map((group, i) => {

View File

@ -28,7 +28,6 @@ export class Root extends Component {
}
setSpinner(spinner) {
console.log("setSpinner", spinner);
this.setState({
spinner
});
@ -131,6 +130,7 @@ export class Root extends Component {
blogId = {props.match.params.blog}
postId = {props.match.params.post}
ship = {props.match.params.ship.slice(1)}
setSpinner={this.setSpinner}
api = {api}
{...this.state}
/>

View File

@ -68,7 +68,6 @@ export class Subs extends Component {
}
accept(host, blogId) {
console.log("accepted invitation", host, blogId);
let subscribe = {
subscribe: {
who: host.slice(1),
@ -79,7 +78,6 @@ export class Subs extends Component {
}
reject(host, blogId) {
console.log("rejected invitation", host, blogId);
let reject = {
"reject-invite": {
who: host.slice(1),
@ -90,7 +88,6 @@ export class Subs extends Component {
}
unsubscribe(host, blogId) {
console.log("unsubscribe", host, blogId);
let unsubscribe = {
unsubscribe: {
who: host.slice(1),

View File

@ -345,7 +345,6 @@ export function getMessageContent(msg) {
if (typeof ret === "undefined") {
ret = {type: "unknown"};
console.log("ASSERT: unknown message type on ", msg)
}
return ret;

View File

@ -8,8 +8,6 @@ class Store {
spinner: false,
...window.injectedState,
}
console.log("store.state", this.state);
this.updateReducer = new UpdateReducer();
this.rumorReducer = new RumorReducer();
this.spinnerReducer = new SpinnerReducer();
@ -22,7 +20,6 @@ class Store {
}
handleEvent(data) {
console.log("store.handleEvent", data);
this.updateReducer.reduce(data.data, this.state);
this.rumorReducer.reduce(data.data, this.state);
this.spinnerReducer.reduce(data.data, this.state);