mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-11 22:40:32 +01:00
wip
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
)
|
||||
)}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user