Skip to content

Commit 7f6cc93

Browse files
committed
fix: icon name
1 parent 1b68184 commit 7f6cc93

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

platforms/metagram/src/lib/icons/Comment.svelte renamed to platforms/metagram/src/lib/icons/CommentIcon.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import type { ISvgProps } from './../types';
2+
import type { ISvgProps } from '../types';
33
44
let { size = '20px', color = '#A5A5A5', ...restProps }: ISvgProps = $props();
55
</script>

platforms/metagram/src/lib/icons/Icons.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<script lang="ts">
2-
import { Like, Refresh, Comment, Home, Flash, CommentsTwo, VerticalDots } from '.';
2+
import { Like, Refresh, CommentIcon, Home, Flash, CommentsTwo, VerticalDots } from '.';
33
</script>
44

55
<div class="flex flex-wrap items-center gap-2">
66
<Like />
77
<Refresh />
8-
<Comment />
8+
<CommentIcon />
99
<VerticalDots />
1010
<Home />
1111
<Flash />

platforms/metagram/src/lib/icons/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export { default as Icons } from './Icons.svelte';
22
export { default as Like } from './Like.svelte';
33
export { default as Refresh } from './Refresh.svelte';
4-
export { default as Comment } from './Comment.svelte';
4+
export { default as CommentIcon } from './CommentIcon.svelte';
55
export { default as VerticalDots } from './VerticalDots.svelte';
66
export { default as Home } from './Home.svelte';
77
export { default as Flash } from './Flash.svelte';

platforms/metagram/src/routes/(protected)/+layout.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
import { goto } from '$app/navigation';
33
import { page } from '$app/state';
44
import { comments } from '$lib/dummyData';
5-
import { BottomNav, Header, Comment, MessageInput } from '$lib/fragments';
6-
import SideBar from '$lib/fragments/SideBar/SideBar.svelte';
5+
import { BottomNav, Header, Comment, MessageInput, SideBar } from '$lib/fragments';
76
import { Settings } from '$lib/icons';
87
import { showComments } from '$lib/store/store.svelte';
98
import type { CommentType } from '$lib/types';

0 commit comments

Comments
 (0)