frontend/sequences/step_tiles/tile_computed_move/overwrite.tsx
Function getOverwriteState
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getOverwriteState = (step: Move, axis: Xyz): {
selection: AxisSelection | undefined,
overwrite: string | number | undefined,
} => {
const overwrite = step.body?.reverse().find(x =>