mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
29 lines
742 B
JavaScript
29 lines
742 B
JavaScript
import React from 'react'
|
|
import * as antd from 'antd'
|
|
import * as ycore from 'ycore'
|
|
import {PostCreator, MainSidebar, MainFeed, MicroHeader} from 'components'
|
|
import styles from './index.less'
|
|
import { RefreshFeed } from 'components/MainFeed'
|
|
import { HandleVisibility } from 'components/PostCreator'
|
|
import { HandleShow } from 'components/MicroHeader'
|
|
|
|
var userData = ycore.SDCP()
|
|
|
|
class Main extends React.Component {
|
|
constructor(props){
|
|
super(props)
|
|
this.state = {
|
|
loading: true,
|
|
createPost: true,
|
|
}
|
|
}
|
|
render(){
|
|
return (
|
|
<div>
|
|
<PostCreator />
|
|
<MainFeed get="feed" />
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
export default Main; |