fix(examples/nextjs): attach HankoAuth to shadow DOM

This commit is contained in:
Björn Müller
2022-09-23 13:05:55 +02:00
parent 857d272747
commit b344999900

View File

@ -12,7 +12,7 @@ function HankoAuth() {
}, [router]);
useEffect(() => {
register({ shadow: false }).catch((e) => console.error(e));
register({ shadow: true }).catch((e) => console.error(e));
}, []);
useEffect(() => {