|
|
@ -30,6 +30,7 @@ export default function ContributeQuestionCard({
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
|
|
|
|
<div className="w-full">
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
className="flex w-full flex-col items-stretch justify-center gap-2 rounded-md border border-slate-300 bg-white p-4 text-left hover:bg-slate-100"
|
|
|
|
className="flex w-full flex-col items-stretch justify-center gap-2 rounded-md border border-slate-300 bg-white p-4 text-left hover:bg-slate-100"
|
|
|
|
type="button"
|
|
|
|
type="button"
|
|
|
@ -73,11 +74,12 @@ export default function ContributeQuestionCard({
|
|
|
|
Contribute
|
|
|
|
Contribute
|
|
|
|
</h1>
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
<ContributeQuestionDialog
|
|
|
|
<ContributeQuestionDialog
|
|
|
|
show={showDraftDialog}
|
|
|
|
show={showDraftDialog}
|
|
|
|
onCancel={handleDraftDialogCancel}
|
|
|
|
onCancel={handleDraftDialogCancel}
|
|
|
|
onSubmit={onSubmit}
|
|
|
|
onSubmit={onSubmit}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|