From 5fb6cd63dd78c5fb602df7450d98749d8eba1da6 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Tue, 9 Sep 2025 21:59:21 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E7=A7=BB=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E7=82=B9=E5=87=BB=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E5=B8=96=E5=AD=90=E5=8A=9F=E8=83=BD=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=AF=84=E8=AE=BA=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/hooks/use-route.ts | 6 ------ web/src/models/comment.ts | 4 ---- 2 files changed, 10 deletions(-) diff --git a/web/src/hooks/use-route.ts b/web/src/hooks/use-route.ts index 5315eb5..14650bf 100644 --- a/web/src/hooks/use-route.ts +++ b/web/src/hooks/use-route.ts @@ -19,9 +19,3 @@ export function useToUserProfile() { }; } -export function clickToPost(postId: number) { - const router = useRouter() - return () => { - router.push(`/p/${postId}`) - } -} \ No newline at end of file diff --git a/web/src/models/comment.ts b/web/src/models/comment.ts index 7f4f956..10bf62f 100644 --- a/web/src/models/comment.ts +++ b/web/src/models/comment.ts @@ -16,7 +16,3 @@ export interface Comment { likeCount: number isLiked: boolean } - -export interface UpdateCommentRequest { - -} \ No newline at end of file