bigbuffet-rw/app/soapbox/features/ui/components/modal-loading.tsx
marcin mikołajczak 2b8bad3cb0 Remove unused styles, also fix #1180
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-17 16:10:18 +01:00

20 lines
492 B
TypeScript

import React from 'react';
import { Spinner } from 'soapbox/components/ui';
// Keep the markup in sync with <BundleModalError />
// (make sure they have the same dimensions)
const ModalLoading = () => (
<div className='modal-root__modal error-modal'>
<div className='error-modal__body'>
<Spinner />
</div>
<div className='error-modal__footer'>
<div>
<button className='error-modal__nav' />
</div>
</div>
</div>
);
export default ModalLoading;