refactor(tsx): remove react-default import from tsx files

This commit is contained in:
Christopher Astfalk
2020-11-30 01:11:12 +01:00
parent 6d9858cf40
commit 406c4d338a
13 changed files with 3 additions and 17 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import React, { useCallback, useEffect } from 'react'
import { useCallback, useEffect } from 'react'
import { useSelector, useDispatch } from 'react-redux'
import { UUID as LLUUID } from '../llsd'
@@ -1,5 +1,3 @@
import React from 'react'
import { Container, ComponentArguments, ButtonsRow } from './utils'
import Name from '../name'
@@ -1,4 +1,3 @@
import React from 'react'
import { useDispatch } from 'react-redux'
import { Container, ComponentArguments, ButtonsRow } from './utils'
@@ -1,4 +1,3 @@
import React from 'react'
import { useDispatch } from 'react-redux'
import { Container, ComponentArguments, ButtonsRow } from './utils'
@@ -1,4 +1,3 @@
import React from 'react'
import { useDispatch } from 'react-redux'
import { UUID as LLUUID } from '../../llsd'
+1 -1
View File
@@ -1,4 +1,4 @@
import React, { memo } from 'react'
import { memo } from 'react'
import { useSelector, useDispatch } from 'react-redux'
import FriendOnlineNotification from './friendOnlineNotification'
@@ -1,4 +1,3 @@
import React from 'react'
import { useDispatch } from 'react-redux'
import { Container, ComponentArguments, ButtonsRow } from './utils'
-2
View File
@@ -1,5 +1,3 @@
import React from 'react'
import { Container, ComponentArguments, ButtonsRow } from './utils'
import Name from '../name'
import Text from '../text'
@@ -1,4 +1,3 @@
import React from 'react'
import { useDispatch } from 'react-redux'
import { Container, ComponentArguments, ButtonsRow } from './utils'
@@ -1,4 +1,3 @@
import React from 'react'
import { useDispatch } from 'react-redux'
import { Container, ComponentArguments, ButtonsRow } from './utils'
@@ -1,5 +1,3 @@
import React from 'react'
import { Container, ComponentArguments, ButtonsRow } from './utils'
import Text from '../text'
-2
View File
@@ -1,5 +1,3 @@
import React from 'react'
import { NotificationBase } from '../../types/chat'
interface ContainerArgs {
+1 -1
View File
@@ -18,7 +18,7 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react"
"jsx": "react-jsx"
},
"include": [
"src"