mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 03:54:54 +08:00
Lazy load more components. #2167
This commit is contained in:
@ -36,7 +36,9 @@ import FediverseIcon from '../../assets/images/fediverse-black.png';
|
||||
|
||||
// Lazy loaded components
|
||||
|
||||
const Tooltip = dynamic(() => import('antd').then(mod => mod.Tooltip));
|
||||
const Tooltip = dynamic(() => import('antd').then(mod => mod.Tooltip), {
|
||||
ssr: false,
|
||||
});
|
||||
|
||||
export type MainLayoutProps = {
|
||||
children: ReactNode;
|
||||
|
||||
Reference in New Issue
Block a user