Add SiteList.tsx
This commit is contained in:
parent
0630260628
commit
db96b95522
@ -23,7 +23,7 @@ export interface ITeamProps {
|
|||||||
export class TeamRow extends React.PureComponent<ITeamProps> {
|
export class TeamRow extends React.PureComponent<ITeamProps> {
|
||||||
handleRemove = async () => {
|
handleRemove = async () => {
|
||||||
const {onRemoveTeam, team: {id}} = this.props
|
const {onRemoveTeam, team: {id}} = this.props
|
||||||
await onRemoveTeam({id})
|
await onRemoveTeam({id}).payload
|
||||||
}
|
}
|
||||||
render() {
|
render() {
|
||||||
const {team} = this.props
|
const {team} = this.props
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user