refactor: 🔥 Remove useless scrolling end reached message

This commit is contained in:
Jesse Wierzbinski 2025-12-09 23:28:26 +01:00
parent 35f72e6197
commit fd1759ff64
No known key found for this signature in database
2 changed files with 0 additions and 17 deletions

View file

@ -1,13 +0,0 @@
<template>
<Alert>
<AlertTitle>{{ m.steep_suave_fish_snap() }}</AlertTitle>
<AlertDescription>{{ m.muddy_bland_shark_accept() }}</AlertDescription>
</Alert>
</template>
<script lang="ts" setup>
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
import * as m from "~~/paraglide/messages.js";
</script>
<style></style>

View file

@ -16,9 +16,6 @@
<div v-if="error" class="timeline-error">{{ error.message }}</div> <div v-if="error" class="timeline-error">{{ error.message }}</div>
<!-- If there are some posts, but the user scrolled to the end -->
<ReachedEnd v-if="hasReachedEnd && items.length > 0"/>
<!-- If there are no posts at all --> <!-- If there are no posts at all -->
<NoPosts v-else-if="hasReachedEnd && items.length === 0"/> <NoPosts v-else-if="hasReachedEnd && items.length === 0"/>
@ -43,7 +40,6 @@ import { useIntersectionObserver } from "@vueuse/core";
import type { z } from "zod"; import type { z } from "zod";
import * as m from "~~/paraglide/messages.js"; import * as m from "~~/paraglide/messages.js";
import NoPosts from "../errors/NoPosts.vue"; import NoPosts from "../errors/NoPosts.vue";
import ReachedEnd from "../errors/ReachedEnd.vue";
import Spinner from "../graphics/spinner.vue"; import Spinner from "../graphics/spinner.vue";
import { Button } from "../ui/button"; import { Button } from "../ui/button";
import TimelineItem from "./timeline-item.vue"; import TimelineItem from "./timeline-item.vue";