Browse Source

fix: mergedAppConfig dependency exception (#43269)

Signed-off-by: Rainey <xuebing_orz@icloud.com>
pull/43289/head
Rainey 1 year ago
committed by GitHub
parent
commit
e985f8e845
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/app/index.tsx

2
components/app/index.tsx

@ -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…
Cancel
Save