teamhanko / docs

The Hanko documentation
https://docs.hanko.io
8 stars 15 forks source link

Hanko Doc(Vanilla js) #35

Closed delavegar25 closed 1 year ago

delavegar25 commented 1 year ago

Checklist

Describe the bug

Add Section.

On the profile.html discovered that hanko.onUserLoggedOut(() => { // successfully logged out, redirect to a page in your application document.location.href = "..." }

the paranthesis is missing and needs to be after the curly bracket or braces.

Reproducing the bug

Steps to reproduce the behaviour:

1) Create a profile.html

2) Write the functionality of the code in the vanilla js doc.

Logs

No response

Configuration

No response

Hanko Version

nil

OS Hanko Backend

Other

OS Version Hanko Backend

No response

OS

None

OS Version

No response

Browser Version

No response

Environment

None

Additional Context

No response

Ashutosh-Bhadauriya commented 1 year ago

@delavegar25 this has been taken care of in the next pr. Will be merged soon