1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Clean up react memo

This commit is contained in:
Zhiyuan Zheng
2022-04-30 21:47:17 +02:00
parent f93d6f7db8
commit 293447f65c
8 changed files with 93 additions and 82 deletions

View File

@ -37,7 +37,7 @@ const HeaderSharedCreated = React.memo(
</>
)
},
() => true
(prev, next) => prev.edited_at === next.edited_at
)
export default HeaderSharedCreated