Do less work (#1953)
This commit is contained in:
parent
9c8a1b8a31
commit
c858b58307
6 changed files with 24 additions and 29 deletions
|
@ -106,7 +106,7 @@ let FeedItemInner = ({
|
|||
const pal = usePalette('default')
|
||||
const {track} = useAnalytics()
|
||||
const [limitLines, setLimitLines] = useState(
|
||||
countLines(richText.text) >= MAX_POST_LINES,
|
||||
() => countLines(richText.text) >= MAX_POST_LINES,
|
||||
)
|
||||
|
||||
const href = useMemo(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue