Update UserButton to redirect correctly. (#16)

This commit is contained in:
Jared Palmer 2023-06-15 16:34:20 -04:00 committed by GitHub
commit b0517a31a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@ export async function Header() {
showName showName
appearance={{ appearance={{
elements: { elements: {
afterSignOutUrl='/'
avatarBox: 'w-6 h-6 rounded-full overflow-hidden', avatarBox: 'w-6 h-6 rounded-full overflow-hidden',
userButtonBox: 'flex-row-reverse', userButtonBox: 'flex-row-reverse',
userButtonOuterIdentifier: 'text-primary', userButtonOuterIdentifier: 'text-primary',