mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-30 00:34:56 +00:00
code: nextjs,frontends,useresolveduser (2 files)
This commit is contained in:
@@ -2,7 +2,7 @@ import { useCallback } from 'react'
|
||||
import { useRouter } from 'next/navigation'
|
||||
import type { AppLevel } from '@/lib/level-types'
|
||||
import { getLevelPath } from '@/lib/navigation/get-level-path'
|
||||
import { useAuth } from '@/hooks/useAuth'
|
||||
import { useAuth } from '../useAuth'
|
||||
|
||||
export interface LevelRouting {
|
||||
onNavigate: (level: AppLevel) => void
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
import { Database } from '@/lib/database'
|
||||
import type { User } from '@/lib/level-types'
|
||||
import { useAuth } from '@/hooks/useAuth'
|
||||
import { useAuth } from '../useAuth'
|
||||
|
||||
export interface ResolvedUserState {
|
||||
user: User | null
|
||||
|
||||
Reference in New Issue
Block a user