import React from 'react'
import * as core from 'core'
import * as antd from 'antd'
import * as Icons from 'components/Icons'
import styles from './modals.less';
import classnames from 'classnames'
const isMobile = localStorage.getItem('mobile_src')
class __Model_postreport extends React.PureComponent {
state = {
step: 1
}
end(){
if(this.props.id){
const payload = { post_id: this.props.id }
core.comty_post.__report((err, res) => {
if (err) {
return false
}
core.notify.info('This post has been reported successfully, our team will review it and inform you about problem resolution ...')
core.RenderFeed.RefreshFeed()
core.RenderFeed.goToElement(this.props.id)
}, payload)
}
setTimeout(() => {
core.SwapMode.close()
}, 500)
}
next(){
let a = this.state.step
if(a<3)a++
this.setState({step: a })
}
status(i){
const a = this.state.step
if (a==i) return 'process'
if (a>i) return 'finish'
if (a
Report an post
This tool is intended for the community in a public way to help identify problematic or abusive content and for legitimate purposes.
To ensure the proper use of this tool, before proceeding, you must understand the following:
- Harmful content or hate speech
- Violent or repulsive content
- Misleading advertising or spam
- Illegal activities
- Sexual content
- Or any other activity that violates the terms and conditions of use