File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ const Tooltip = ({
7373 theme : themeOverrides ,
7474 ...rest
7575} : Props ) => {
76+ const isWeb = Platform . OS === 'web' ;
77+
7678 const theme = useInternalTheme ( themeOverrides ) ;
7779 const [ visible , setVisible ] = React . useState ( false ) ;
7880
@@ -86,8 +88,6 @@ const Tooltip = ({
8688 const childrenWrapperRef = React . useRef ( ) as React . MutableRefObject < View > ;
8789 const touched = React . useRef ( false ) ;
8890
89- const isWeb = Platform . OS === 'web' ;
90-
9191 React . useEffect ( ( ) => {
9292 return ( ) => {
9393 if ( showTooltipTimer . current ) {
@@ -233,7 +233,7 @@ const styles = StyleSheet.create({
233233 opacity : 0 ,
234234 } ,
235235 pressContainer : {
236- cursor : 'default' ,
236+ ... ( Platform . OS === 'web' && { cursor : 'default' } ) ,
237237 } as ViewStyle ,
238238} ) ;
239239
You can’t perform that action at this time.
0 commit comments