mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
Migracja store'a
This commit is contained in:
+2
-1
@@ -32,6 +32,7 @@ import InputsSection from './components/InputsSection.vue';
|
||||
import ListSection from './components/ListSection.vue';
|
||||
|
||||
import logoImage from './assets/logo.svg';
|
||||
import { useStore } from './store';
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@@ -46,7 +47,7 @@ export default defineComponent({
|
||||
}),
|
||||
|
||||
setup() {
|
||||
const store = inject('Store') as IStore;
|
||||
const store = useStore();
|
||||
|
||||
return {
|
||||
store,
|
||||
|
||||
Reference in New Issue
Block a user