Create codemod for addressing ESLint warnings (#10032)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React from 'react'
|
||||
import {useEffect, useState} from 'react'
|
||||
import {Pressable, View} from 'react-native'
|
||||
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
||||
import {msg} from '@lingui/core/macro'
|
||||
@@ -33,9 +33,9 @@ export const SplashScreen = ({
|
||||
const {_} = useLingui()
|
||||
const t = useTheme()
|
||||
const {isTabletOrMobile: IS_WEB_MOBILE} = useWebMediaQueries()
|
||||
const [showClipOverlay, setShowClipOverlay] = React.useState(false)
|
||||
const [showClipOverlay, setShowClipOverlay] = useState(false)
|
||||
|
||||
React.useEffect(() => {
|
||||
useEffect(() => {
|
||||
const getParams = new URLSearchParams(window.location.search)
|
||||
const clip = getParams.get('clip')
|
||||
if (clip === 'true') {
|
||||
|
||||
Reference in New Issue
Block a user