mirror of
https://github.com/teamhanko/hanko.git
synced 2025-10-29 23:59:46 +08:00
fix(examples/nextjs): attach HankoAuth to shadow DOM
This commit is contained in:
@ -12,7 +12,7 @@ function HankoAuth() {
|
|||||||
}, [router]);
|
}, [router]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
register({ shadow: false }).catch((e) => console.error(e));
|
register({ shadow: true }).catch((e) => console.error(e));
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user