Lazy load more components. #2167
This commit is contained in:
@@ -14,7 +14,9 @@ import { isEmptyObject } from '../../utils/format';
|
||||
|
||||
// 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 MessageToggleProps = {
|
||||
isVisible: boolean;
|
||||
|
||||
Reference in New Issue
Block a user