fix: topic for guest auth (#149)

* wip

* chore: redirect instead of toast

* refactor: remove useRouter
This commit is contained in:
Aslam
2024-09-08 04:30:11 +07:00
committed by GitHub
parent 9e4544894c
commit cb9e8f46da
5 changed files with 215 additions and 256 deletions

View File

@@ -6,7 +6,6 @@ import { cn } from "@/lib/utils"
import { PersonalLinkLists } from "@/lib/schema/personal-link"
import { useQueryState, parseAsStringLiteral } from "nuqs"
import { LEARNING_STATES } from "@/lib/constants"
import { useRouter } from "next/navigation"
export const LinkSection: React.FC<{ pathname: string }> = ({ pathname }) => {
const { me } = useAccount({