this repo has no description
0
fork

Configure Feed

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

Forgot to emojify again

This is getting ridiculous

+9 -2
+9 -2
src/pages/account-statuses.jsx
··· 3 3 import { useSnapshot } from 'valtio'; 4 4 5 5 import Timeline from '../components/timeline'; 6 + import emojifyText from '../utils/emojify-text'; 6 7 import states from '../utils/states'; 7 8 import useTitle from '../utils/useTitle'; 8 9 ··· 35 36 })(); 36 37 }, [id]); 37 38 39 + const { displayName, acct, emojis } = account; 40 + 38 41 return ( 39 42 <Timeline 40 43 key={id} ··· 46 49 states.showAccount = account; 47 50 }} 48 51 > 49 - {account?.displayName} 52 + <b 53 + dangerouslySetInnerHTML={{ 54 + __html: emojifyText(displayName, emojis), 55 + }} 56 + /> 50 57 <div> 51 - <span>@{account?.acct}</span> 58 + <span>@{acct}</span> 52 59 </div> 53 60 </h1> 54 61 }