Can move entries between accounts
This commit is contained in:
@ -4,7 +4,7 @@ import { SelectAccountDialog } from "../../dialogs/SelectAccountDialog";
|
||||
|
||||
type DialogContext = (
|
||||
title: string,
|
||||
description: string,
|
||||
description: string | React.ReactElement,
|
||||
confirmButton?: string,
|
||||
excludedAccounts?: Account[]
|
||||
) => Promise<Account | undefined>;
|
||||
@ -15,7 +15,9 @@ export function ChooseAccountDialogProvider(
|
||||
p: React.PropsWithChildren
|
||||
): React.ReactElement {
|
||||
const [title, setTitle] = React.useState("");
|
||||
const [description, setDescription] = React.useState("");
|
||||
const [description, setDescription] = React.useState<
|
||||
string | React.ReactElement
|
||||
>("");
|
||||
const [confirmButton, setConfirmButton] = React.useState<
|
||||
string | undefined
|
||||
>();
|
||||
|
Reference in New Issue
Block a user