Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(app): Wire up Error Recovery flows on desktop #15560

Merged
merged 13 commits into from
Jul 2, 2024
6 changes: 3 additions & 3 deletions app-shell-odd/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ export function getOverrides(path?: string): unknown {

export function getConfig<P extends keyof Config>(path: P): Config[P]
export function getConfig(): Config
export function getConfig(path?: string): any {
const result = path == null ? null : store().get(path)
const over = getOverrides(path)
export function getConfig(path?: any): any {
const result = store().get(path)
const over = getOverrides(path as string | undefined)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how come we're changing the app shell's config getter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjhuff can probably speak more about this? maybe @sfoster1 is aware as well?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's gone now that you merged edge into the branch


if (over != null) {
if (typeof result === 'object' && result != null) {
Expand Down