chore: use type imports / avoid unnecessary API type export (#28088)

This commit is contained in:
Kevin Grüneberg
2024-07-19 18:35:23 +08:00
committed by GitHub
parent cb4b0fe6d8
commit 3601bb52f5
17 changed files with 26 additions and 26 deletions

View File

@@ -2,8 +2,8 @@
import { useEffect, useState } from 'react'
import { usePathname } from 'next/navigation'
import { ICommonItem } from '~/components/reference/Reference.types'
import { Json } from '~/types'
import type { ICommonItem } from '~/components/reference/Reference.types'
import type { Json } from '~/types'
import { menuState } from '../../../hooks/useMenuState'
export function getPathWithoutHash(relativePath: string) {