Fix build issues
This commit is contained in:
@@ -15,7 +15,7 @@ export { DataWizardFlow } from "./DataWizardFlow.js";
|
||||
*/
|
||||
export function createWizardFlow(action: XOTemplateAction): WizardFlow {
|
||||
if (action.data?.length && !action.transaction) {
|
||||
return new DataWizardFlow(action.data);
|
||||
return new DataWizardFlow([action.data]);
|
||||
}
|
||||
return new TransactionWizardFlow();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user