fix(panel-wrapper): rename react modal import to modal

This commit is contained in:
RadoslavDimchev 2024-04-15 16:13:25 +03:00 committed by Radoslav Dimchev
parent e6813ff195
commit cf97c7a26e
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { Text } from '@status-im/components'
import { ExpandRsIcon } from '@status-im/icons'
import { useState } from 'react'
import ReactModal from 'react-modal'
import Modal from 'react-modal'
import { useNavigate, useParams } from 'react-router-dom'
import { XStack, YStack } from 'tamagui'
@ -23,7 +23,7 @@ const PanelWrapper = ({ children, title }: PanelWrapperProps) => {
}
return (
<ReactModal
<Modal
isOpen={isModalOpen}
onRequestClose={closeModal}
style={{
@ -52,7 +52,7 @@ const PanelWrapper = ({ children, title }: PanelWrapperProps) => {
</XStack>
{children}
</YStack>
</ReactModal>
</Modal>
)
}