New release #210

Merged
b merged 28 commits from staging into main 2024-09-19 08:23:14 +00:00
Showing only changes of commit 4bc5882ab6 - Show all commits

View File

@ -1,3 +1,4 @@
import { createPortal } from 'react-dom'
import styles from './style.module.scss'
interface Props {
@ -20,7 +21,7 @@ export const LoadingSpinner = (props: Props) => {
)
default:
return (
return createPortal(
<div className={styles.loadingSpinnerOverlay}>
<div
className={styles.loadingSpinnerContainer}
@ -29,7 +30,8 @@ export const LoadingSpinner = (props: Props) => {
<div className={styles.loadingSpinner}></div>
{desc && <p className={styles.loadingSpinnerDesc}>{desc}</p>}
</div>
</div>
</div>,
document.getElementById('root')!
)
}
}