Lazy load more components. #2167
This commit is contained in:
@@ -16,7 +16,9 @@ import { formatUAstring } 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 UserPopoverProps = {
|
||||
user: User;
|
||||
|
||||
Reference in New Issue
Block a user