Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed Sep 29, 2023
1 parent 2aae37d commit 1f60e1a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/view/com/notifications/FeedItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1f60e1a

Please sign in to comment.