this repo has no description
0
fork

Configure Feed

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

Still need to request relationship for moved accounts

Instead hide specific elements if moved.

+30 -28
+30 -28
src/components/account-info.jsx
··· 809 809 </div> 810 810 </LinkOrDiv> 811 811 )} 812 - <div class="account-metadata-box"> 813 - <div 814 - class="shazam-container no-animation" 815 - hidden={!!postingStats} 816 - > 817 - <div class="shazam-container-inner"> 818 - <button 819 - type="button" 820 - class="posting-stats-button" 821 - disabled={postingStatsUIState === 'loading'} 822 - onClick={() => { 823 - renderPostingStats(); 824 - }} 825 - > 826 - <div 827 - class={`posting-stats-bar posting-stats-icon ${ 828 - postingStatsUIState === 'loading' ? 'loading' : '' 829 - }`} 830 - style={{ 831 - '--originals-percentage': '33%', 832 - '--replies-percentage': '66%', 812 + {!moved && ( 813 + <div class="account-metadata-box"> 814 + <div 815 + class="shazam-container no-animation" 816 + hidden={!!postingStats} 817 + > 818 + <div class="shazam-container-inner"> 819 + <button 820 + type="button" 821 + class="posting-stats-button" 822 + disabled={postingStatsUIState === 'loading'} 823 + onClick={() => { 824 + renderPostingStats(); 833 825 }} 834 - /> 835 - View post stats{' '} 836 - {/* <Loader 826 + > 827 + <div 828 + class={`posting-stats-bar posting-stats-icon ${ 829 + postingStatsUIState === 'loading' ? 'loading' : '' 830 + }`} 831 + style={{ 832 + '--originals-percentage': '33%', 833 + '--replies-percentage': '66%', 834 + }} 835 + /> 836 + View post stats{' '} 837 + {/* <Loader 837 838 abrupt 838 839 hidden={postingStatsUIState !== 'loading'} 839 840 /> */} 840 - </button> 841 + </button> 842 + </div> 841 843 </div> 842 844 </div> 843 - </div> 845 + )} 844 846 </main> 845 847 <footer> 846 848 <RelatedActions ··· 939 941 940 942 accountID.current = currentID; 941 943 942 - if (moved) return; 944 + // if (moved) return; 943 945 944 946 setRelationshipUIState('loading'); 945 947 ··· 1437 1439 {!relationship && relationshipUIState === 'loading' && ( 1438 1440 <Loader abrupt /> 1439 1441 )} 1440 - {!!relationship && ( 1442 + {!!relationship && !moved && ( 1441 1443 <MenuConfirm 1442 1444 confirm={following || requested} 1443 1445 confirmLabel={