this repo has no description
0
fork

Configure Feed

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

Fix #55

+15 -2
+7 -2
src/components/account.jsx
··· 6 6 import enhanceContent from '../utils/enhance-content'; 7 7 import handleContentLinks from '../utils/handle-content-links'; 8 8 import shortenNumber from '../utils/shorten-number'; 9 - import states from '../utils/states'; 9 + import states, { hideAllModals } from '../utils/states'; 10 10 import store from '../utils/store'; 11 11 12 12 import Avatar from './avatar'; ··· 218 218 </div> 219 219 )} 220 220 <p class="stats"> 221 - <Link to={`/a/${id}`} onClick={onClose}> 221 + <Link 222 + to={`/a/${id}`} 223 + onClick={() => { 224 + hideAllModals(); 225 + }} 226 + > 222 227 Posts 223 228 <br /> 224 229 <b title={statusesCount}>
+8
src/utils/states.js
··· 43 43 ); 44 44 }); 45 45 46 + export function hideAllModals() { 47 + states.showCompose = false; 48 + states.showSettings = false; 49 + states.showAccount = false; 50 + states.showDrafts = false; 51 + states.showMediaModal = false; 52 + } 53 + 46 54 export function saveStatus(status, opts) { 47 55 const { override, skipThreading } = Object.assign( 48 56 { override: true, skipThreading: false },