fix(app): preserve provider dialog backdrop (#35370)
Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev>
This commit is contained in:
co-authored by
Jay
Brendan Allan
parent
e12cb7fb6b
commit
14df88eab5
@@ -77,7 +77,16 @@ export function useUsageExceededDialogs() {
|
||||
if (dontShowAgain) setGoUpsellState(keys.dontShow, Date.now())
|
||||
else {
|
||||
void import("../../components/dialog-connect-provider").then((x) =>
|
||||
dialog.show(() => <x.DialogConnectProvider provider="opencode-go" />),
|
||||
dialog.show(() => (
|
||||
<x.DialogConnectProvider
|
||||
provider="opencode-go"
|
||||
onBack={() => {
|
||||
void import("../../components/dialog-select-provider").then((provider) => {
|
||||
dialog.show(() => <provider.DialogSelectProvider />)
|
||||
})
|
||||
}}
|
||||
/>
|
||||
)),
|
||||
)
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user