feat(simulations): afficher la consigne du sujet au-dessus de la textarea
This commit is contained in:
parent
b356bc7109
commit
e449661ee0
2 changed files with 8 additions and 2 deletions
|
|
@ -49,6 +49,7 @@ export function SimulationPage() {
|
|||
const {
|
||||
step,
|
||||
production,
|
||||
sujet,
|
||||
isCreating,
|
||||
isCorrecting,
|
||||
correctError,
|
||||
|
|
@ -90,6 +91,7 @@ export function SimulationPage() {
|
|||
{planData && (step === 'task-selected' || step === 'correcting') && production && (
|
||||
<SimulationForm
|
||||
tache={production.tache}
|
||||
sujet={sujet}
|
||||
isSubmitting={isCorrecting}
|
||||
error={correctError}
|
||||
onSubmit={submitText}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue