diff --git a/src/components/name.tsx b/src/components/name.tsx index 2bc3959..5cbfdc6 100644 --- a/src/components/name.tsx +++ b/src/components/name.tsx @@ -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' diff --git a/src/components/notifications/friendOnlineNotification.tsx b/src/components/notifications/friendOnlineNotification.tsx index 3ec4040..29dea0b 100644 --- a/src/components/notifications/friendOnlineNotification.tsx +++ b/src/components/notifications/friendOnlineNotification.tsx @@ -1,5 +1,3 @@ -import React from 'react' - import { Container, ComponentArguments, ButtonsRow } from './utils' import Name from '../name' diff --git a/src/components/notifications/friendshipOffer.tsx b/src/components/notifications/friendshipOffer.tsx index 6496659..1e13899 100644 --- a/src/components/notifications/friendshipOffer.tsx +++ b/src/components/notifications/friendshipOffer.tsx @@ -1,4 +1,3 @@ -import React from 'react' import { useDispatch } from 'react-redux' import { Container, ComponentArguments, ButtonsRow } from './utils' diff --git a/src/components/notifications/groupInvitation.tsx b/src/components/notifications/groupInvitation.tsx index b0684ba..550430f 100644 --- a/src/components/notifications/groupInvitation.tsx +++ b/src/components/notifications/groupInvitation.tsx @@ -1,4 +1,3 @@ -import React from 'react' import { useDispatch } from 'react-redux' import { Container, ComponentArguments, ButtonsRow } from './utils' diff --git a/src/components/notifications/groupNotice.tsx b/src/components/notifications/groupNotice.tsx index d2389ef..cca1de2 100644 --- a/src/components/notifications/groupNotice.tsx +++ b/src/components/notifications/groupNotice.tsx @@ -1,4 +1,3 @@ -import React from 'react' import { useDispatch } from 'react-redux' import { UUID as LLUUID } from '../../llsd' diff --git a/src/components/notifications/index.tsx b/src/components/notifications/index.tsx index 4401783..273f9b3 100644 --- a/src/components/notifications/index.tsx +++ b/src/components/notifications/index.tsx @@ -1,4 +1,4 @@ -import React, { memo } from 'react' +import { memo } from 'react' import { useSelector, useDispatch } from 'react-redux' import FriendOnlineNotification from './friendOnlineNotification' diff --git a/src/components/notifications/inventoryOffer.tsx b/src/components/notifications/inventoryOffer.tsx index ac2546b..3304a29 100644 --- a/src/components/notifications/inventoryOffer.tsx +++ b/src/components/notifications/inventoryOffer.tsx @@ -1,4 +1,3 @@ -import React from 'react' import { useDispatch } from 'react-redux' import { Container, ComponentArguments, ButtonsRow } from './utils' diff --git a/src/components/notifications/loadURL.tsx b/src/components/notifications/loadURL.tsx index 6db979f..0e86fd1 100644 --- a/src/components/notifications/loadURL.tsx +++ b/src/components/notifications/loadURL.tsx @@ -1,5 +1,3 @@ -import React from 'react' - import { Container, ComponentArguments, ButtonsRow } from './utils' import Name from '../name' import Text from '../text' diff --git a/src/components/notifications/requestTeleportLure.tsx b/src/components/notifications/requestTeleportLure.tsx index 7970283..26f315a 100644 --- a/src/components/notifications/requestTeleportLure.tsx +++ b/src/components/notifications/requestTeleportLure.tsx @@ -1,4 +1,3 @@ -import React from 'react' import { useDispatch } from 'react-redux' import { Container, ComponentArguments, ButtonsRow } from './utils' diff --git a/src/components/notifications/teleportLure.tsx b/src/components/notifications/teleportLure.tsx index b150faa..4f59c78 100644 --- a/src/components/notifications/teleportLure.tsx +++ b/src/components/notifications/teleportLure.tsx @@ -1,4 +1,3 @@ -import React from 'react' import { useDispatch } from 'react-redux' import { Container, ComponentArguments, ButtonsRow } from './utils' diff --git a/src/components/notifications/textNotification.tsx b/src/components/notifications/textNotification.tsx index 25ecfd0..695e865 100644 --- a/src/components/notifications/textNotification.tsx +++ b/src/components/notifications/textNotification.tsx @@ -1,5 +1,3 @@ -import React from 'react' - import { Container, ComponentArguments, ButtonsRow } from './utils' import Text from '../text' diff --git a/src/components/notifications/utils.tsx b/src/components/notifications/utils.tsx index 0fe7f70..6921af6 100644 --- a/src/components/notifications/utils.tsx +++ b/src/components/notifications/utils.tsx @@ -1,5 +1,3 @@ -import React from 'react' - import { NotificationBase } from '../../types/chat' interface ContainerArgs { diff --git a/tsconfig.json b/tsconfig.json index 7b1d3c6..a273b0c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,7 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react" + "jsx": "react-jsx" }, "include": [ "src"