0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

fix(console): clear conflict connector notice (#3537)

This commit is contained in:
wangsijie 2023-03-20 13:31:16 +08:00 committed by GitHub
parent e4ea2ed9d0
commit 71607a5d67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,6 +75,10 @@ const Guide = ({ connector, onClose }: Props) => {
const configParser = useConnectorFormConfigParser();
useEffect(() => {
setConflictConnectorName(undefined);
}, [connector]);
if (!connector) {
return null;
}