mirror of
https://github.com/versia-pub/frontend.git
synced 2026-01-26 04:16:02 +01:00
refactor: 🔥 Remove useless scrolling end reached message
This commit is contained in:
parent
35f72e6197
commit
fd1759ff64
|
|
@ -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>
|
||||
|
|
@ -16,9 +16,6 @@
|
|||
|
||||
<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 -->
|
||||
<NoPosts v-else-if="hasReachedEnd && items.length === 0"/>
|
||||
|
||||
|
|
@ -43,7 +40,6 @@ import { useIntersectionObserver } from "@vueuse/core";
|
|||
import type { z } from "zod";
|
||||
import * as m from "~~/paraglide/messages.js";
|
||||
import NoPosts from "../errors/NoPosts.vue";
|
||||
import ReachedEnd from "../errors/ReachedEnd.vue";
|
||||
import Spinner from "../graphics/spinner.vue";
|
||||
import { Button } from "../ui/button";
|
||||
import TimelineItem from "./timeline-item.vue";
|
||||
|
|
|
|||
Loading…
Reference in a new issue