Simplifying broadcasts (removing silly action namespacing)
This commit is contained in:
@ -22,6 +22,7 @@ export default class extends React.Component{
|
||||
}
|
||||
|
||||
render(){
|
||||
console.log(this.props.data)
|
||||
if (!this.props.data || !this.props.data.user || !this.props.data.authorization){
|
||||
return null
|
||||
}
|
||||
|
||||
@ -19,10 +19,10 @@ class AuthorizationModal_Send extends React.Component{
|
||||
e.preventDefault()
|
||||
this.props.pusherActions.deliverMessage(
|
||||
connection_id,
|
||||
'spotify.authorizationReceived',
|
||||
'spotify_authorization_received',
|
||||
{
|
||||
authorization: this.props.authorization,
|
||||
me: this.props.me
|
||||
user: this.props.me
|
||||
}
|
||||
);
|
||||
this.props.uiActions.closeModal()
|
||||
|
||||
Reference in New Issue
Block a user