mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: mainAppRef inject logic
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import type { Ref } from 'vue'
|
||||
import type { HoveringDockItem } from './types'
|
||||
import { settings } from '~/logic'
|
||||
|
||||
const emit = defineEmits(['settings-visibility-change'])
|
||||
|
||||
const mainAppRef = inject('mainAppRef') as Ref<HTMLDivElement>
|
||||
const { mainAppRef } = useBewlyApp()
|
||||
|
||||
const hoveringDockItem = reactive<HoveringDockItem>({
|
||||
themeMode: false,
|
||||
|
||||
Reference in New Issue
Block a user