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

View file

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

View file

@ -1,18 +1,13 @@
<template> <template>
<NuxtLayout name="client"> <NuxtLayout name="client">
<DirectMessagesSidebar /> <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> </NuxtLayout>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import DirectMessagesSidebar from '~/components/Me/DirectMessagesSidebar.vue'; import DirectMessagesSidebar from '~/components/Me/DirectMessagesSidebar.vue';
definePageMeta({
layout: "client"
});
</script> </script>
<style> <style>

View file

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

View file

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