Fix warning
parent
2aae37d67b
commit
1f60e1a748
|
@ -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
|
? {
|
||||||
cursor: 'pointer',
|
// @ts-ignore web only
|
||||||
},
|
cursor: 'pointer',
|
||||||
|
}
|
||||||
|
: {},
|
||||||
|
|
||||||
outer: {
|
outer: {
|
||||||
padding: 10,
|
padding: 10,
|
||||||
|
|
Loading…
Reference in New Issue