chore: generate
This commit is contained in:
@@ -77,12 +77,22 @@ export function createDialogProviderOptions() {
|
|||||||
})
|
})
|
||||||
if (result.data?.method === "code") {
|
if (result.data?.method === "code") {
|
||||||
dialog.replace(() => (
|
dialog.replace(() => (
|
||||||
<CodeMethod providerID={provider.id} title={method.label} index={index} authorization={result.data!} />
|
<CodeMethod
|
||||||
|
providerID={provider.id}
|
||||||
|
title={method.label}
|
||||||
|
index={index}
|
||||||
|
authorization={result.data!}
|
||||||
|
/>
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
if (result.data?.method === "auto") {
|
if (result.data?.method === "auto") {
|
||||||
dialog.replace(() => (
|
dialog.replace(() => (
|
||||||
<AutoMethod providerID={provider.id} title={method.label} index={index} authorization={result.data!} />
|
<AutoMethod
|
||||||
|
providerID={provider.id}
|
||||||
|
title={method.label}
|
||||||
|
index={index}
|
||||||
|
authorization={result.data!}
|
||||||
|
/>
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user