Refactored composable
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup>
|
||||
import { useLayoutService } from '@/layout/composables/layoutService';
|
||||
import { useLayout } from '@/layout/composables/layout';
|
||||
import AppConfig from '@/layout/AppConfig.vue';
|
||||
const { isDarkTheme } = useLayoutService();
|
||||
const { isDarkTheme } = useLayout();
|
||||
|
||||
const smoothScroll = (id) => {
|
||||
document.querySelector(id).scrollIntoView({
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<script setup>
|
||||
import { useLayoutService } from '@/layout/composables/layoutService';
|
||||
import { useLayout } from '@/layout/composables/layout';
|
||||
import { ref } from 'vue';
|
||||
import AppConfig from '@/layout/AppConfig.vue';
|
||||
|
||||
const { isDarkTheme } = useLayoutService();
|
||||
const { isDarkTheme } = useLayout();
|
||||
|
||||
const email = ref('');
|
||||
const password = ref('');
|
||||
|
||||
Reference in New Issue
Block a user