Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

millionjs breaks inputs (#620)

bautistaaafb015b370401
diff --git a/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx b/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx
index 8e34992b..e4f3d277 100644
--- a/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx
+++ b/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx
@@ -54,6 +54,7 @@ const commentReportSchema = z
export type CommentReportSchemaType = z.infer<typeof commentReportSchema>;
+// million-ignore
export function Comment({ comment, readonly = false, rootId, type, queryKey }: CommentProps) {
const [showReplies, setShowReplies] = useState(false);
diff --git a/apps/web/src/app/[locale]/challenge/_components/comments/index.tsx b/apps/web/src/app/[locale]/challenge/_components/comments/index.tsx
index da4eab9b..27f867a0 100644
--- a/apps/web/src/app/[locale]/challenge/_components/comments/index.tsx
+++ b/apps/web/src/app/[locale]/challenge/_components/comments/index.tsx
@@ -48,6 +48,7 @@ interface Props {
type: CommentRoot;
}
+// million-ignore
export function Comments({ rootId, type }: Props) {
const [showComments, setShowComments] = useState(false);
const [text, setText] = useState('');