Fix warning

zio/stable
Paul Frazee 2023-09-28 20:45:11 -07:00
parent 2aae37d67b
commit 1f60e1a748
1 changed files with 7 additions and 4 deletions

View File

@ -39,6 +39,7 @@ import {useAnimatedValue} from 'lib/hooks/useAnimatedValue'
import {formatCount} from '../util/numeric/format'
import {makeProfileLink} from 'lib/routes/links'
import {TimeElapsed} from '../util/TimeElapsed'
import {isWeb} from 'platform/detection'
const MAX_AUTHORS = 5
@ -450,10 +451,12 @@ const styles = StyleSheet.create({
overflowHidden: {
overflow: 'hidden',
},
pointer: {
// @ts-ignore web only
cursor: 'pointer',
},
pointer: isWeb
? {
// @ts-ignore web only
cursor: 'pointer',
}
: {},
outer: {
padding: 10,