mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
update everything. use npm instead of yarn.
This commit is contained in:
parent
36af7ac8f2
commit
77f81dc8b6
7 changed files with 13 additions and 16 deletions
|
@ -35,7 +35,7 @@ const dropTarget = DropTarget(
|
|||
})
|
||||
)
|
||||
class RoleEditor extends Component {
|
||||
componentWillMount() {
|
||||
componentDidMount() {
|
||||
const {
|
||||
dispatch,
|
||||
match: {
|
||||
|
@ -231,4 +231,4 @@ class RoleEditor extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default dropTarget(connect(mapState)(RoleEditor))
|
||||
export default connect(mapState)(dropTarget(RoleEditor))
|
||||
|
|
|
@ -15,7 +15,7 @@ const mapState = ({ rolePicker, servers }, ownProps) => {
|
|||
}
|
||||
|
||||
class RolePicker extends Component {
|
||||
componentWillMount() {
|
||||
componentDidMount() {
|
||||
const {
|
||||
dispatch,
|
||||
match: {
|
||||
|
|
|
@ -9,7 +9,7 @@ export default class ServerLanding extends Component {
|
|||
exit: false,
|
||||
}
|
||||
|
||||
async componentWillMount() {
|
||||
async componentDidMount() {
|
||||
console.log(this.props)
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue