EmbedModal: use Divider component
This commit is contained in:
parent
058746103f
commit
6ea4129cb7
|
@ -3,7 +3,7 @@ import { FormattedMessage } from 'react-intl';
|
||||||
|
|
||||||
import { closeModal } from 'soapbox/actions/modals';
|
import { closeModal } from 'soapbox/actions/modals';
|
||||||
import SafeEmbed from 'soapbox/components/safe-embed';
|
import SafeEmbed from 'soapbox/components/safe-embed';
|
||||||
import { Modal, Stack, Text, Input } from 'soapbox/components/ui';
|
import { Modal, Stack, Text, Input, Divider } from 'soapbox/components/ui';
|
||||||
import { useAppDispatch } from 'soapbox/hooks';
|
import { useAppDispatch } from 'soapbox/hooks';
|
||||||
import useEmbed from 'soapbox/queries/embed';
|
import useEmbed from 'soapbox/queries/embed';
|
||||||
|
|
||||||
|
@ -48,7 +48,9 @@ const EmbedModal: React.FC<IEmbedModal> = ({ url, onError }) => {
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<hr className='my-9 dark:border-primary-800' />
|
<div className='py-9'>
|
||||||
|
<Divider />
|
||||||
|
</div>
|
||||||
|
|
||||||
<SafeEmbed
|
<SafeEmbed
|
||||||
className='rounded-xl overflow-hidden w-full'
|
className='rounded-xl overflow-hidden w-full'
|
||||||
|
|
Loading…
Reference in New Issue