testing build
This commit is contained in:
parent
19ec328c02
commit
5adbb0ed59
@ -488,11 +488,11 @@ export function Calculator({ slot, target, preset }) {
|
|||||||
setCarSetup(biasToSetup(bias))
|
setCarSetup(biasToSetup(bias))
|
||||||
}}
|
}}
|
||||||
onDelete={() => {
|
onDelete={() => {
|
||||||
setFeedback(
|
update({
|
||||||
feedback.map((x, idx) => idx === row.index ?
|
feedback: feedback.map((x, idx) => idx === row.index ?
|
||||||
x.filter(x => x.value !== f.value) : x
|
x.filter(x => x.value !== f.value) : x
|
||||||
)
|
)
|
||||||
)
|
})
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
@ -652,7 +652,9 @@ export function Calculator({ slot, target, preset }) {
|
|||||||
</Button>
|
</Button>
|
||||||
<Button variant="contained" color="error" sx={{ minWidth: 32, p: 1 }} onClick={
|
<Button variant="contained" color="error" sx={{ minWidth: 32, p: 1 }} onClick={
|
||||||
() => {
|
() => {
|
||||||
setPreviousRuns(previousRuns.filter(r => r.id !== x.id))
|
update({
|
||||||
|
previousRuns: previousRuns.filter(r => r.id !== x.id)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}>
|
}>
|
||||||
<Delete />
|
<Delete />
|
||||||
|
Loading…
Reference in New Issue
Block a user