mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Updates
This commit is contained in:
@ -26,13 +26,13 @@ const HeaderRight: React.FC<Props> = ({
|
||||
const { theme } = useTheme()
|
||||
|
||||
const mounted = useRef(false)
|
||||
useEffect(() => {
|
||||
if (mounted.current) {
|
||||
layoutAnimation()
|
||||
} else {
|
||||
mounted.current = true
|
||||
}
|
||||
}, [content, loading, disabled])
|
||||
// useEffect(() => {
|
||||
// if (mounted.current) {
|
||||
// layoutAnimation()
|
||||
// } else {
|
||||
// mounted.current = true
|
||||
// }
|
||||
// }, [content, loading, disabled])
|
||||
|
||||
const loadingSpinkit = useMemo(
|
||||
() => (
|
||||
|
Reference in New Issue
Block a user