Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
refactor: move admin/hooks to @vben/hooks (#85)
Browse files Browse the repository at this point in the history
* done

* useMenuSetting&useFullContent

* delete files

* useHeaderSetting

* useMultipleTabSetting

* useTransitionSetting

* misc

* event hooks
  • Loading branch information
likui628 authored Sep 8, 2023
1 parent 193de24 commit fb6a4a6
Show file tree
Hide file tree
Showing 27 changed files with 200 additions and 652 deletions.
112 changes: 0 additions & 112 deletions apps/admin/src/hooks/setting/useRootSetting.ts

This file was deleted.

31 changes: 0 additions & 31 deletions apps/admin/src/hooks/setting/useTransitionSetting.ts

This file was deleted.

109 changes: 0 additions & 109 deletions apps/admin/src/hooks/useRootSetting.ts

This file was deleted.

102 changes: 0 additions & 102 deletions apps/admin/src/hooks/useTabs.ts

This file was deleted.

10 changes: 0 additions & 10 deletions apps/admin/src/hooks/web/use-app-inject.ts

This file was deleted.

17 changes: 0 additions & 17 deletions apps/admin/src/hooks/web/useAppContext.ts

This file was deleted.

2 changes: 1 addition & 1 deletion apps/admin/src/hooks/web/useLockScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useThrottleFn } from '@vben/utils'
import { useLockStore } from '@/store/lock'
import { useConfigStore } from '@/store/config'
import { useUserStore } from '@/store/user'
import { useRootSetting } from '#/hooks/setting/useRootSetting'
import { useRootSetting } from '@vben/hooks'
import { BASIC_LOCK_PATH } from '@vben/constants'
import { router } from '@/router'

Expand Down
Loading

0 comments on commit fb6a4a6

Please sign in to comment.