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