Removed useless const and imports

This commit is contained in:
Florian Sylvain
2023-02-22 09:41:19 +01:00
parent c782a3b447
commit 25de66ec3d
2 changed files with 2 additions and 8 deletions
+2 -5
View File
@@ -1,12 +1,9 @@
<script setup lang="ts">
import { RouterView } from 'vue-router'
import { RouterView } from "vue-router"
</script>
<template>
<RouterView />
</template>
<style scoped>
</style>
<style scoped></style>
-3
View File
@@ -2,14 +2,11 @@
import { useSessionStore } from "@/stores/useSessionStore"
import { db } from "@/utils/firestore"
import { collection, addDoc, type DocumentData } from "firebase/firestore"
import { ref } from "vue"
import { useRouter } from "vue-router"
const router = useRouter()
const sessionStore = useSessionStore()
const group = ref("")
async function getGroup(): Promise<DocumentData | undefined> {
try {
return await addDoc(collection(db, "groups"), {})