Fix ESLint issues
This commit is contained in:
@ -34,7 +34,7 @@ export function AttachMultipleInboxEntriesDialog(p: {
|
||||
<DialogContent>
|
||||
{p.entries.map((entry, num) => {
|
||||
return (
|
||||
<div>
|
||||
<div key={entry.id}>
|
||||
<div
|
||||
style={{
|
||||
padding: "5px",
|
||||
@ -53,13 +53,13 @@ export function AttachMultipleInboxEntriesDialog(p: {
|
||||
<MovementSelect
|
||||
list={p.movements[num]}
|
||||
value={mapping[num]}
|
||||
onChange={(v) =>
|
||||
onChange={(v) => {
|
||||
setMapping((m) => {
|
||||
const n = [...m];
|
||||
n[num] = v;
|
||||
return n;
|
||||
})
|
||||
}
|
||||
});
|
||||
}}
|
||||
/>
|
||||
) : (
|
||||
<>No movement found</>
|
||||
|
Reference in New Issue
Block a user