mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
fix: mergedAppConfig dependency exception (#43269)
Signed-off-by: Rainey <xuebing_orz@icloud.com>
This commit is contained in:
parent
24e0347a55
commit
e985f8e845
@ -42,7 +42,7 @@ const App: React.FC<AppProps> & { useApp: typeof useApp } = (props) => {
|
||||
message: { ...appConfig.message, ...message },
|
||||
notification: { ...appConfig.notification, ...notification },
|
||||
}),
|
||||
[message, notification, appConfig.message, appConfig.message],
|
||||
[message, notification, appConfig.message, appConfig.notification],
|
||||
);
|
||||
|
||||
const [messageApi, messageContextHolder] = useMessage(mergedAppConfig.message);
|
||||
|
Loading…
Reference in New Issue
Block a user