Skip to content

Commit

Permalink
Removing console statement and fix linting, so that the CI runs through.
Browse files Browse the repository at this point in the history
  • Loading branch information
Elweyn committed Jul 5, 2024
1 parent f1c7fa3 commit 4a15437
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/menu/BottomMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div
class="bottom-menu d-flex w-100 position-fixed bottom-0 justify-space-around align-center py-2 bg-surface d-md-none d-lg-none"
>
<Circle @click="toggleDrawer" class="camera-button">
<Circle class="camera-button" @click="toggleDrawer">
<v-icon icon="$camera"></v-icon>
</Circle>
<CreateButtonMobile />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/vuetify/Atoms/ListElement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ defineProps({
// const emit = defineEmits(['item-click'])
const handleItemClick = (link: string) => {
console.log('handleItemClick', link)
// console.log('handleItemClick', link)
closeMenu()
activeRoomStore.setActiveRoom(link)
navigate('/room/')
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/stores/activeRoomStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const useActiveRoomStore = defineStore('activeRoom', () => {
const getActiveRoom = computed(() => activeRoom.value)

const setActiveRoom = (room: string | null) => {
console.log('setActiveRoom', room)
// console.log('setActiveRoom', room)
activeRoom.value = room
}

Expand Down
8 changes: 4 additions & 4 deletions frontend/src/stores/roomsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export const useRoomsStore = defineStore('rooms', () => {

const refetchRooms = async () => {
try {
const test = await openRoomsQueryRefetch()
console.log('test', test)
console.log('refetchRooms', openRoomsQueryResult.value)
await openRoomsQueryRefetch()
// console.log('test', test)
// console.log('refetchRooms', openRoomsQueryResult.value)
if (openRoomsQueryResult.value) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-argument
setRooms(openRoomsQueryResult.value.openRooms)
}
} catch (error) {
Expand Down

0 comments on commit 4a15437

Please sign in to comment.