Open DokLaw opened 11 months ago
share your navbar code
import Link from 'next/link' import MaxWidthWrapper from './MaxWidthWrapper' import { buttonVariants } from './ui/button' import { LoginLink, RegisterLink, getKindeServerSession, } from '@kinde-oss/kinde-auth-nextjs/server' import { ArrowRight } from 'lucide-react'
const Navbar = () => { const { getUser } = getKindeServerSession() const user = getUser()
return (
) }
export default Navbar
import Link from 'next/link' import MaxWidthWrapper from './MaxWidthWrapper' import { buttonVariants } from './ui/button' import { LoginLink, RegisterLink, getKindeServerSession, } from '@kinde-oss/kinde-auth-nextjs/server' import { ArrowRight } from 'lucide-react'
const Navbar = () => { const { getUser } = getKindeServerSession() const user = getUser()
return (
) }
export default Navbar
import Link from 'next/link' import MaxWidthWrapper from './MaxWidthWrapper' import { buttonVariants } from './ui/button' import { LoginLink, RegisterLink, getKindeServerSession, } from @.***/kinde-auth-nextjs/server' import { ArrowRight } from 'lucide-react'
const Navbar = () => { const { getUser } = getKindeServerSession() const user = getUser()
return (
</nav>
) }
export default Navbar
On Mon, Dec 4, 2023 at 7:58 AM Bobby Aleem @.***> wrote:
share your navbar code
— Reply to this email directly, view it on GitHub https://github.com/joschan21/quill/issues/46#issuecomment-1838947951, or unsubscribe https://github.com/notifications/unsubscribe-auth/BENH2WCIBCXHR5TQJM4F6S3YHXXL7AVCNFSM6AAAAABAFLIYUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZYHE2DOOJVGE . You are receiving this because you authored the thread.Message ID: @.***>
--
Dr. John Adu, LLM, Ph.D.
CEO & Founder, Negus & Co. 1142 Florida Street, # 5, San Francisco, CA
The Pricing, Sign in etc will only show to users which are not logged in also in the latest kinde auth use await to get user
const { getUser } = getKindeServerSession()
const user = await getUser()
Thanks so much. It works. Again thank you. John.
On Mon, Dec 4, 2023 at 9:32 AM Bobby Aleem @.***> wrote:
The Pricing, Sign in etc will only show to users which are not logged in also in the latest kinde auth use await to get user
const { getUser } = getKindeServerSession() const user = await getUser()
— Reply to this email directly, view it on GitHub https://github.com/joschan21/quill/issues/46#issuecomment-1839138182, or unsubscribe https://github.com/notifications/unsubscribe-auth/BENH2WAL2ZMFM63FWHBJWSDYHYCMHAVCNFSM6AAAAABAFLIYUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZGEZTQMJYGI . You are receiving this because you authored the thread.Message ID: @.***>
--
Dr. John Adu, LLM, Ph.D.
CEO & Founder, Negus & Co. 1142 Florida Street, # 5, San Francisco, CA
@DokLaw if this is fixed can you mark the issue as resolved please? Cheers
Hello there! Sign in, Get started, Pricing don't appear in the Navbar even though everything is correct in the code. Can anybody help? Thanks a lot.