fix(dev): add missing convexUserId from useAuth in AppSidebar debug panel
This commit is contained in:
parent
7b768735ea
commit
5851bfe366
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ const navigation: { versions: string[]; navMain: NavigationGroup[] } = {
|
||||||
|
|
||||||
export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
|
export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
|
||||||
const pathname = usePathname()
|
const pathname = usePathname()
|
||||||
const { session, isLoading, isAdmin, isStaff } = useAuth()
|
const { session, isLoading, isAdmin, isStaff, convexUserId } = useAuth()
|
||||||
const [isHydrated, setIsHydrated] = React.useState(false)
|
const [isHydrated, setIsHydrated] = React.useState(false)
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue