Skip to content

Commit

Permalink
Merge pull request #1915 from Web3Auth/fix/Issue-modal-config-keep-re…
Browse files Browse the repository at this point in the history
…main

Fix: Convert defaultOtherModalConfig to function instead of object.
  • Loading branch information
chaitanyapotti authored Sep 4, 2024
2 parents 3875f98 + dd9b0f0 commit 979b77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/modal/src/modalManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class Web3Auth extends Web3AuthNoModal implements IWeb3AuthModal {

readonly options: Web3AuthOptions;

private modalConfig: AdaptersModalConfig = defaultOtherModalConfig;
private modalConfig: AdaptersModalConfig = clonedeep(defaultOtherModalConfig);

constructor(options: Web3AuthOptions) {
super(options);
Expand Down

0 comments on commit 979b77f

Please sign in to comment.