diff --git a/packages/components/src/author/index.tsx b/packages/components/src/author/index.tsx index e69de29b..847ab09b 100644 --- a/packages/components/src/author/index.tsx +++ b/packages/components/src/author/index.tsx @@ -0,0 +1 @@ +export { Author } from './author' diff --git a/packages/components/src/messages/message.tsx b/packages/components/src/messages/message.tsx index 3a5dfb03..b0659e9b 100644 --- a/packages/components/src/messages/message.tsx +++ b/packages/components/src/messages/message.tsx @@ -1,3 +1,5 @@ +import { useState } from 'react' + import { PinIcon } from '@status-im/icons/16' import { View } from 'react-native' import { Stack, styled, Unspaced, XStack, YStack } from 'tamagui' @@ -45,8 +47,8 @@ const Wrapper = styled(View, { const Message = (props: Props) => { const { text, images, reactions, reply, pinned } = props - const [hovered, setHovered] = React.useState(false) - const [actionsOpen, setActionsOpen] = React.useState(false) + const [hovered, setHovered] = useState(false) + const [actionsOpen, setActionsOpen] = useState(false) const active = actionsOpen || hovered // diff --git a/packages/status-react/src/components/main-sidebar/components/chats/chat-category.tsx b/packages/status-react/src/components/main-sidebar/components/chats/chat-category.tsx index fbeae1d6..784a30f8 100644 --- a/packages/status-react/src/components/main-sidebar/components/chats/chat-category.tsx +++ b/packages/status-react/src/components/main-sidebar/components/chats/chat-category.tsx @@ -1,4 +1,4 @@ -import { useState } from 'react' +import React, { useState } from 'react' import * as Collapsible from '@radix-ui/react-collapsible'