mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-30 05:34:33 +08:00
[resumes][fix] fix textarea registration on comment form
This commit is contained in:
@ -88,7 +88,7 @@ export default function CommentsForm({
|
|||||||
onSubmit={handleSubmit(onSubmit)}>
|
onSubmit={handleSubmit(onSubmit)}>
|
||||||
<div className="mt-4 space-y-4">
|
<div className="mt-4 space-y-4">
|
||||||
<TextArea
|
<TextArea
|
||||||
{...register('general')}
|
{...(register('general'), {})}
|
||||||
disabled={reviewCreateMutation.isLoading}
|
disabled={reviewCreateMutation.isLoading}
|
||||||
label="General"
|
label="General"
|
||||||
placeholder="General comments about the resume"
|
placeholder="General comments about the resume"
|
||||||
@ -96,7 +96,7 @@ export default function CommentsForm({
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<TextArea
|
<TextArea
|
||||||
{...register('education')}
|
{...(register('education'), {})}
|
||||||
disabled={reviewCreateMutation.isLoading}
|
disabled={reviewCreateMutation.isLoading}
|
||||||
label="Education"
|
label="Education"
|
||||||
placeholder="Comments about the Education section"
|
placeholder="Comments about the Education section"
|
||||||
@ -104,7 +104,7 @@ export default function CommentsForm({
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<TextArea
|
<TextArea
|
||||||
{...register('experience')}
|
{...(register('experience'), {})}
|
||||||
disabled={reviewCreateMutation.isLoading}
|
disabled={reviewCreateMutation.isLoading}
|
||||||
label="Experience"
|
label="Experience"
|
||||||
placeholder="Comments about the Experience section"
|
placeholder="Comments about the Experience section"
|
||||||
@ -112,7 +112,7 @@ export default function CommentsForm({
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<TextArea
|
<TextArea
|
||||||
{...register('projects')}
|
{...(register('projects'), {})}
|
||||||
disabled={reviewCreateMutation.isLoading}
|
disabled={reviewCreateMutation.isLoading}
|
||||||
label="Projects"
|
label="Projects"
|
||||||
placeholder="Comments about the Projects section"
|
placeholder="Comments about the Projects section"
|
||||||
@ -120,7 +120,7 @@ export default function CommentsForm({
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<TextArea
|
<TextArea
|
||||||
{...register('skills')}
|
{...(register('skills'), {})}
|
||||||
disabled={reviewCreateMutation.isLoading}
|
disabled={reviewCreateMutation.isLoading}
|
||||||
label="Skills"
|
label="Skills"
|
||||||
placeholder="Comments about the Skills section"
|
placeholder="Comments about the Skills section"
|
||||||
|
Reference in New Issue
Block a user