chore: remove unnecessary code
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful

This commit is contained in:
Twig 2025-07-11 01:54:24 +02:00
parent 0562127e4a
commit 4e2e61d4dc
No known key found for this signature in database
5 changed files with 2 additions and 25 deletions

View file

@ -1,7 +1,7 @@
<template>
<div id="middle-left-column">
<div id="friend-sidebar">
<div id="server-title">
<div>
<h3>Direct Messages</h3>
</div>
<VerticalSpacer />
@ -23,17 +23,9 @@
<script lang="ts" setup>
import VerticalSpacer from '~/components/UserInterface/VerticalSpacer.vue';
const { fetchFriends } = useApi();
const friends = await fetchFriends()
console.log(friends)
definePageMeta({
layout: "client"
});
</script>
<style>

View file

@ -31,9 +31,6 @@ const friends = await fetchFriends()
const props = defineProps<{
variant: string
}>();
console.log("props", props.variant)
</script>
<style>

View file

@ -1,18 +1,13 @@
<template>
<NuxtLayout name="client">
<DirectMessagesSidebar />
<MessageArea channel-url="channels/01970e8c-a09c-76a0-9c98-80a43364bea7"/>
<MessageArea channel-url="channels/01970e8c-a09c-76a0-9c98-80a43364bea7"/> <!-- currently just links to the default channel -->
</NuxtLayout>
</template>
<script lang="ts" setup>
import DirectMessagesSidebar from '~/components/Me/DirectMessagesSidebar.vue';
definePageMeta({
layout: "client"
});
</script>
<style>

View file

@ -25,7 +25,6 @@ import FriendsList from '~/components/Me/FriendsList.vue';
let windowHash = ref(window.location.hash)
function updateHash(newHash: string) {
window.location.hash = newHash
windowHash.value = `#${newHash}`;

View file

@ -6,12 +6,6 @@
<script lang="ts" setup>
import DirectMessagesSidebar from '~/components/Me/DirectMessagesSidebar.vue';
definePageMeta({
layout: "client"
});
</script>
<style>