mirror of
https://github.com/Floriansylvain/SpaceMessenger.git
synced 2026-08-19 11:43:22 +02:00
Removed useless const and imports
This commit is contained in:
+2
-5
@@ -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>
|
||||
|
||||
@@ -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"), {})
|
||||
|
||||
Reference in New Issue
Block a user