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 { } else {
// Render the retry button if we errored // Render the retry button if we errored
if (status === 'error') { if (status === 'error' && friendStatus === 'pending') {
return ( return (
<div <div
className={classNames( className={classNames(

Loading…
Cancel
Save