mirror of
https://github.com/linsa-io/linsa.git
synced 2026-04-28 03:07:17 +02:00
chore: preload nested deps
This commit is contained in:
@@ -3,7 +3,16 @@ import { useAccount } from "@/lib/providers/jazz-provider"
|
||||
import { NavItem } from "~/components/custom/nav-item"
|
||||
|
||||
export const LinkCollection: React.FC = () => {
|
||||
const { me } = useAccount()
|
||||
const { me } = useAccount({
|
||||
root: {
|
||||
personalLinks: [{}],
|
||||
personalPages: [{}],
|
||||
tasks: [{}],
|
||||
topicsWantToLearn: [{}],
|
||||
topicsLearning: [{}],
|
||||
topicsLearned: [{}],
|
||||
},
|
||||
})
|
||||
|
||||
const linkCount = me?.root?.personalLinks?.length || 0
|
||||
const pageCount = me?.root?.personalPages?.length || 0
|
||||
|
||||
Reference in New Issue
Block a user