From 72f1502e837be85a9c44f53c906dad44f61288ed Mon Sep 17 00:00:00 2001 From: James Xylight Date: Thu, 31 Jul 2025 22:29:34 -0700 Subject: [PATCH] rename: Comments.svelte -> CommentTree.svelte --- src/lib/components/lemmy/comment/CommentListVirtualizer.svelte | 2 +- .../lemmy/comment/{Comments.svelte => CommentTree.svelte} | 2 +- src/routes/post/[instance]/[id=integer]/CommentProvider.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/lib/components/lemmy/comment/{Comments.svelte => CommentTree.svelte} (98%) diff --git a/src/lib/components/lemmy/comment/CommentListVirtualizer.svelte b/src/lib/components/lemmy/comment/CommentListVirtualizer.svelte index 6e9843d5..7c68db29 100644 --- a/src/lib/components/lemmy/comment/CommentListVirtualizer.svelte +++ b/src/lib/components/lemmy/comment/CommentListVirtualizer.svelte @@ -2,7 +2,7 @@ import VirtualList from '$lib/components/render/VirtualList.svelte' import type { Post } from 'lemmy-js-client' import type { CommentNodeI } from './comments.svelte' - import Comments from './Comments.svelte' + import Comments from './CommentList.svelte' import { onMount } from 'svelte' interface Props { diff --git a/src/lib/components/lemmy/comment/Comments.svelte b/src/lib/components/lemmy/comment/CommentTree.svelte similarity index 98% rename from src/lib/components/lemmy/comment/Comments.svelte rename to src/lib/components/lemmy/comment/CommentTree.svelte index aa8ae865..8828ee1a 100644 --- a/src/lib/components/lemmy/comment/Comments.svelte +++ b/src/lib/components/lemmy/comment/CommentTree.svelte @@ -9,7 +9,7 @@ import { Button, toast } from 'mono-svelte' import { ArrowDownCircle, Icon } from 'svelte-hero-icons' import Comment from './Comment.svelte' - import Comments from './Comments.svelte' + import Comments from './CommentList.svelte' import { buildCommentsTree, type CommentNodeI } from './comments.svelte' interface Props { diff --git a/src/routes/post/[instance]/[id=integer]/CommentProvider.svelte b/src/routes/post/[instance]/[id=integer]/CommentProvider.svelte index 0dec7af4..96ded05c 100644 --- a/src/routes/post/[instance]/[id=integer]/CommentProvider.svelte +++ b/src/routes/post/[instance]/[id=integer]/CommentProvider.svelte @@ -4,7 +4,7 @@ import { profile } from '$lib/auth.svelte' import CommentForm from '$lib/components/lemmy/comment/CommentForm.svelte' import CommentListVirtualizer from '$lib/components/lemmy/comment/CommentListVirtualizer.svelte' - import Comments from '$lib/components/lemmy/comment/Comments.svelte' + import Comments from '$lib/components/lemmy/comment/CommentList.svelte' import { buildCommentsTree } from '$lib/components/lemmy/comment/comments.svelte' import EndPlaceholder from '$lib/components/ui/EndPlaceholder.svelte' import { t } from '$lib/i18n/translations'