diff options
Diffstat (limited to 'src/view/com/post-thread/PostVotedBy.tsx')
-rw-r--r-- | src/view/com/post-thread/PostVotedBy.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/post-thread/PostVotedBy.tsx b/src/view/com/post-thread/PostVotedBy.tsx index 17ed9f9f8..af5bc2475 100644 --- a/src/view/com/post-thread/PostVotedBy.tsx +++ b/src/view/com/post-thread/PostVotedBy.tsx @@ -1,4 +1,4 @@ -import React, {useState, useEffect} from 'react' +import React, {useEffect} from 'react' import {observer} from 'mobx-react-lite' import {ActivityIndicator, FlatList, StyleSheet, View} from 'react-native' import { @@ -20,7 +20,7 @@ export const PostVotedBy = observer(function PostVotedBy({ direction: 'up' | 'down' }) { const store = useStores() - const [view, setView] = useState<VotesViewModel | undefined>() + const [view, setView] = React.useState<VotesViewModel | undefined>() useEffect(() => { if (view?.params.uri === uri) { |