mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +03:00
removed old console logs
This commit is contained in:
parent
963d615ab6
commit
3fde35653c
@ -47,7 +47,6 @@ export class Blog extends Component {
|
||||
}
|
||||
|
||||
handleError(err) {
|
||||
console.log("handleError", err);
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
|
@ -36,7 +36,6 @@ export class Comments extends Component {
|
||||
content: this.state.commentBody,
|
||||
}
|
||||
};
|
||||
console.log("post comment", comment);
|
||||
|
||||
this.setState({
|
||||
awaiting: {
|
||||
|
@ -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() {
|
||||
|
@ -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);
|
||||
|
||||
|
@ -141,7 +141,6 @@ export class NewBlog extends Component {
|
||||
}
|
||||
|
||||
returnHome() {
|
||||
console.log("action return home");
|
||||
}
|
||||
|
||||
render() {
|
||||
|
@ -124,8 +124,6 @@ export class NewPost extends Component {
|
||||
postId: postId,
|
||||
});
|
||||
|
||||
console.log("awaiting", awaiting);
|
||||
|
||||
let permissions = {
|
||||
read: {
|
||||
mod: 'black',
|
||||
|
@ -128,8 +128,6 @@ export class Recent extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
console.log(this.props);
|
||||
|
||||
let recent = this.buildRecent();
|
||||
|
||||
let body = recent.map((group, i) => {
|
||||
|
@ -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}
|
||||
/>
|
||||
|
@ -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),
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user