Start to build attach multiple entries dialog
This commit is contained in:
@@ -29,7 +29,9 @@ export function SelectAccountDialog(p: {
|
||||
}): React.ReactElement {
|
||||
const accounts = useAccounts();
|
||||
|
||||
const [choice, setChoice] = React.useState<Account | null>(null);
|
||||
const [choice, setChoice] = React.useState<Account | null>(
|
||||
accounts.list.default
|
||||
);
|
||||
|
||||
const submit = () => {
|
||||
if (choice) p.onSelected(choice);
|
||||
|
||||
Reference in New Issue
Block a user