mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-11 14:50:44 -03:00
cocinado boton para volver arriba
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
import { sesionStore } from '@/stores/usuario';
|
||||
import { likePost } from '@/hooks/likePost';
|
||||
import ThumbsUp from '@lucide/svelte/icons/thumbs-up';
|
||||
import { TamañoPantalla } from './TamañoPantalla.svelte';
|
||||
import BotonSeguir from '@/components/BotonSeguir.svelte';
|
||||
import Pen from '@lucide/svelte/icons/pen';
|
||||
import Trash_2 from '@lucide/svelte/icons/trash-2';
|
||||
@@ -26,6 +25,7 @@
|
||||
import { deletePost } from '@/hooks/deletePost';
|
||||
import { flip } from 'svelte/animate';
|
||||
import { obtenerRespuestasPorId } from '@/hooks/obtenerRespuestasPorId';
|
||||
import VolverArriba from '@/components/VolverArriba.svelte';
|
||||
|
||||
interface Prop {
|
||||
data: {
|
||||
@@ -34,8 +34,6 @@
|
||||
};
|
||||
}
|
||||
|
||||
let tamaño = new TamañoPantalla();
|
||||
|
||||
let { data }: Prop = $props();
|
||||
|
||||
let respuestasPaginadas: Post[] = $state([]);
|
||||
@@ -154,6 +152,8 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<VolverArriba />
|
||||
|
||||
{#snippet Respuesta(post: Post)}
|
||||
<div class="ml-2 flex-1">
|
||||
<div class="flex justify-between">
|
||||
|
||||
Reference in New Issue
Block a user