This commit is contained in:
Aslam H
2024-09-03 20:58:40 +07:00
parent c4c565f7ac
commit 9ced59b4f3
2 changed files with 11 additions and 11 deletions

View File

@@ -88,16 +88,16 @@ export function TopicDetailRoute({ topicName }: TopicDetailRouteProps) {
) : (
<LinkItem
key={index}
link={link}
topic={topic}
isActive={activeIndex === startIndex + index}
index={startIndex + index}
setActiveIndex={setActiveIndex}
ref={el => {
linkRefs.current[startIndex + index] = el
}}
me={me}
personalLinks={personalLinks}
link={data.data}
// topic={topic}
// isActive={activeIndex === startIndex + index}
// index={startIndex + index}
// setActiveIndex={setActiveIndex}
// ref={el => {
// linkRefs.current[startIndex + index] = el
// }}
// me={me}
// personalLinks={personalLinks}
/>
)
)}

View File

@@ -5,7 +5,7 @@ import { LaAccount } from "@/lib/schema"
import { useClerk } from "@clerk/nextjs"
import { createContext, useMemo, useState } from "react"
import { AuthMethodCtx } from "jazz-react"
import { BrowserClerkAuth as X } from "jazz-react-auth-clerk"
import { BrowserClerkAuth as X, JazzClerkAuth as Z } from "jazz-react-auth-clerk"
const Jazz = createJazzReactApp({
AccountSchema: LaAccount