mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-26 19:16:24 +00:00
✨ feat: 移除未使用的点击跳转到帖子功能,优化评论模型
This commit is contained in:
@ -19,9 +19,3 @@ export function useToUserProfile() {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function clickToPost(postId: number) {
|
|
||||||
const router = useRouter()
|
|
||||||
return () => {
|
|
||||||
router.push(`/p/${postId}`)
|
|
||||||
}
|
|
||||||
}
|
|
@ -16,7 +16,3 @@ export interface Comment {
|
|||||||
likeCount: number
|
likeCount: number
|
||||||
isLiked: boolean
|
isLiked: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UpdateCommentRequest {
|
|
||||||
|
|
||||||
}
|
|
Reference in New Issue
Block a user