mirror of
https://github.com/teamhanko/hanko.git
synced 2025-10-29 07:40:07 +08:00
fix(examples/nextjs): attach HankoAuth to shadow DOM
This commit is contained in:
@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user