feat(simulations): exposer sujet dans useSimulation + composant SujetDisplay
This commit is contained in:
parent
e130d3792e
commit
b356bc7109
2 changed files with 68 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ export function useSimulation() {
|
|||
return {
|
||||
step,
|
||||
production,
|
||||
sujet: production?.sujet ?? null,
|
||||
report: (correctMutation.data ?? null) as Report | null,
|
||||
isCreating: createMutation.isPending,
|
||||
isCorrecting: correctMutation.isPending,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue