Only display retry send button if the request is pending.

pull/33/head
Mikunj 7 years ago
parent 6aab900da2
commit 557fed11f3

@ -81,7 +81,7 @@ export class FriendRequest extends React.Component<Props> {
}
} else {
// Render the retry button if we errored
if (status === 'error') {
if (status === 'error' && friendStatus === 'pending') {
return (
<div
className={classNames(

Loading…
Cancel
Save