diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-06-07 15:57:32 -0400 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-06-08 16:18:34 -0400 |
| commit | f52f6eaa57250a3eb5cf50dab393c5ec29f4d688 (patch) | |
| tree | c1b58cf27309727630bb9b9086a02da8e9f13dbc /src/components/moments | |
| parent | ea088da1304a9ba345b75aab9184f7e8d928a4ac (diff) | |
Resolve warning
Diffstat (limited to 'src/components/moments')
| -rw-r--r-- | src/components/moments/MomentPostContent.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx index 4a1f3894..23eeae42 100644 --- a/src/components/moments/MomentPostContent.tsx +++ b/src/components/moments/MomentPostContent.tsx @@ -2,7 +2,7 @@ import {useNavigation} from '@react-navigation/native'; import React, {useEffect, useRef, useState} from 'react'; import {Image, StyleSheet, Text, View, ViewProps} from 'react-native'; import {TouchableWithoutFeedback} from 'react-native-gesture-handler'; -import Animated, {Easing} from 'react-native-reanimated'; +import Animated, {EasingNode} from 'react-native-reanimated'; import {useDispatch, useStore} from 'react-redux'; import {getCommentsCount} from '../../services'; import {RootState} from '../../store/rootReducer'; @@ -66,7 +66,7 @@ const MomentPostContent: React.FC<MomentPostContentProps> = ({ Animated.timing(fadeValue, { toValue: 1, duration: 250, - easing: Easing.linear, + easing: EasingNode.linear, }).start(); }; fade(); |
