this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Disable follow request buttons once has relationship

+2 -2
+2 -2
src/components/follow-request-buttons.jsx
··· 17 17 <p class="follow-request-buttons"> 18 18 <button 19 19 type="button" 20 - disabled={uiState === 'loading'} 20 + disabled={uiState === 'loading' || hasRelationship} 21 21 onClick={() => { 22 22 setUIState('loading'); 23 23 setRequestState('accept'); ··· 40 40 </button>{' '} 41 41 <button 42 42 type="button" 43 - disabled={uiState === 'loading'} 43 + disabled={uiState === 'loading' || hasRelationship} 44 44 class="light danger" 45 45 onClick={() => { 46 46 setUIState('loading');