mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Add loading state to lazy loaded modals
This commit is contained in:
parent
bdb914447c
commit
f475a37bb6
@ -54,6 +54,7 @@ const FollowModal = dynamic(
|
||||
() => import('../../modals/FollowModal/FollowModal').then(mod => mod.FollowModal),
|
||||
{
|
||||
ssr: false,
|
||||
loading: () => <Skeleton loading active paragraph={{ rows: 8 }} />,
|
||||
},
|
||||
);
|
||||
|
||||
@ -64,6 +65,7 @@ const BrowserNotifyModal = dynamic(
|
||||
),
|
||||
{
|
||||
ssr: false,
|
||||
loading: () => <Skeleton loading active paragraph={{ rows: 6 }} />,
|
||||
},
|
||||
);
|
||||
|
||||
@ -71,6 +73,7 @@ const NotifyReminderPopup = dynamic(
|
||||
() => import('../NotifyReminderPopup/NotifyReminderPopup').then(mod => mod.NotifyReminderPopup),
|
||||
{
|
||||
ssr: false,
|
||||
loading: () => <Skeleton loading active paragraph={{ rows: 8 }} />,
|
||||
},
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user