Add a widget to select a movement
This commit is contained in:
@@ -113,7 +113,11 @@ export function NewMovementWidget(
|
||||
>
|
||||
<UploadedFileWidget file_id={file.id} />
|
||||
</span>
|
||||
<IconButton onClick={() => { setFile(undefined); }}>
|
||||
<IconButton
|
||||
onClick={() => {
|
||||
setFile(undefined);
|
||||
}}
|
||||
>
|
||||
<ClearIcon />
|
||||
</IconButton>
|
||||
</>
|
||||
@@ -156,7 +160,6 @@ export function NewMovementWidget(
|
||||
{/* Amount input */}
|
||||
<AmountInput
|
||||
editable
|
||||
type="text"
|
||||
placeholder="Amount"
|
||||
style={{ flex: 1, maxWidth: "110px" }}
|
||||
value={amount ?? 0}
|
||||
|
Reference in New Issue
Block a user