import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter as Router, Route, Link } from 'react-router-dom';
import Icon from './components/Icon';
import Discover from './components/Discover';
import Post from './components/Post';
import Thread from './components/Thread';
import LoginButton from './components/LoginButton';
import Footer from './components/Footer';
class App extends React.Component {
constructor(props) {
super(props);
this.state = {
visitor: { uid: 0 }
};
}
render() {
return (
)
}
auth(data) {
console.log(data)
}
}
ReactDOM.render(, document.getElementById('wrapper'));