Add loading state for player component

This commit is contained in:
Gabe Kangas 2023-01-31 23:26:17 -08:00
parent ae660ed216
commit b05ff79cf0
No known key found for this signature in database
GPG key ID: 4345B2060657F330

View file

@ -77,6 +77,7 @@ const OwncastPlayer = dynamic(
() => import('../../video/OwncastPlayer/OwncastPlayer').then(mod => mod.OwncastPlayer),
{
ssr: false,
loading: () => <Skeleton loading active paragraph={{ rows: 12 }} />,
},
);