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 <LinkItem
key={index} key={index}
link={link} link={data.data}
topic={topic} // topic={topic}
isActive={activeIndex === startIndex + index} // isActive={activeIndex === startIndex + index}
index={startIndex + index} // index={startIndex + index}
setActiveIndex={setActiveIndex} // setActiveIndex={setActiveIndex}
ref={el => { // ref={el => {
linkRefs.current[startIndex + index] = el // linkRefs.current[startIndex + index] = el
}} // }}
me={me} // me={me}
personalLinks={personalLinks} // personalLinks={personalLinks}
/> />
) )
)} )}

View File

@@ -5,7 +5,7 @@ import { LaAccount } from "@/lib/schema"
import { useClerk } from "@clerk/nextjs" import { useClerk } from "@clerk/nextjs"
import { createContext, useMemo, useState } from "react" import { createContext, useMemo, useState } from "react"
import { AuthMethodCtx } from "jazz-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({ const Jazz = createJazzReactApp({
AccountSchema: LaAccount AccountSchema: LaAccount