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