style: prettier format
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
79bbbdc4e8
commit
99617f117c
45 changed files with 229 additions and 302 deletions
|
|
@ -146,7 +146,5 @@ export function SimulationFlowProvider({ children }: { children: ReactNode }) {
|
|||
reset,
|
||||
}
|
||||
|
||||
return (
|
||||
<SimulationFlowContext.Provider value={value}>{children}</SimulationFlowContext.Provider>
|
||||
)
|
||||
return <SimulationFlowContext.Provider value={value}>{children}</SimulationFlowContext.Provider>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,20 +7,11 @@
|
|||
*/
|
||||
|
||||
import { createContext, useContext } from 'react'
|
||||
import type {
|
||||
CreateSimulationPayload,
|
||||
Production,
|
||||
SujetData,
|
||||
} from '@/entities/production/types'
|
||||
import type { CreateSimulationPayload, Production, SujetData } from '@/entities/production/types'
|
||||
import type { Report } from '@/entities/report/types'
|
||||
import type { ApiError } from '@/shared/types/api'
|
||||
|
||||
export type SimulationStep =
|
||||
| 'idle'
|
||||
| 'choosing-subject'
|
||||
| 'task-selected'
|
||||
| 'correcting'
|
||||
| 'done'
|
||||
export type SimulationStep = 'idle' | 'choosing-subject' | 'task-selected' | 'correcting' | 'done'
|
||||
|
||||
export interface FlowValue {
|
||||
step: SimulationStep
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue