diff --git a/components/message/useMessage.tsx b/components/message/useMessage.tsx
index 08899fddbbef..529f94cda737 100644
--- a/components/message/useMessage.tsx
+++ b/components/message/useMessage.tsx
@@ -212,7 +212,7 @@ export function useInternalMessage(
}, []);
// ============================== Return ===============================
- return [wrapAPI, ];
+ return [wrapAPI, ];
}
export default function useMessage(notificationConfig?: ConfigOptions) {
diff --git a/components/notification/useNotification.tsx b/components/notification/useNotification.tsx
index c58d95730ff4..c61c80aff32b 100644
--- a/components/notification/useNotification.tsx
+++ b/components/notification/useNotification.tsx
@@ -160,7 +160,7 @@ export function useInternalNotification(
}, []);
// ============================== Return ===============================
- return [wrapAPI, ];
+ return [wrapAPI, ];
}
export default function useNotification(notificationConfig?: NotificationConfig) {