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