Add animations to loaders.

This commit is contained in:
Paul
2021-06-22 16:29:47 +01:00
parent e98a962071
commit 22b21c030f
16 changed files with 123 additions and 21 deletions

View File

@@ -55,7 +55,7 @@ export function Sessions() {
if (typeof sessions === "undefined") {
return (
<div className={styles.loader}>
<Preloader />
<Preloader type="ring" />
</div>
);
}

View File

@@ -27,7 +27,7 @@ export function Invites({ server }: Props) {
return (
<div className={styles.invites}>
{ typeof invites === 'undefined' && <Preloader /> }
{ typeof invites === 'undefined' && <Preloader type="ring" /> }
{
invites?.map(
invite => {