Skip to content

Commit

Permalink
chore: remove warning in log (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux committed Jul 31, 2024
1 parent 872478f commit 32a7faf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/EvAgentSession/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ class EvAgentSession extends RcModuleV2<Deps> implements AgentSession {
}

private async _connectEvServer(config: EvConfigureAgentOptions) {
console.log('configure ev agent in _connectEvServer~~', config);
// console.log('configure ev agent in _connectEvServer~~', config);
let result = await this._deps.evClient.configureAgent(config);
const { status } = result.data;
const existingLoginFound = status === messageTypes.EXISTING_LOGIN_FOUND;
Expand Down
4 changes: 2 additions & 2 deletions src/modules/Phone/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ export default class BasePhone extends RcModule {
this.modules.routerInteraction.push('/');
}
if (
this.modules.locale.currentLocale !== this.modules.locale._defaultLocale &&
this.modules.locale.currentLocale !== this.modules.locale.defaultLocale &&
!this._hasSetLocale
) {
this._hasSetLocale = true;
this.modules.locale.setLocale(this.modules.locale._defaultLocale);
this.modules.locale.setLocale(this.modules.locale.defaultLocale);
}
});
}
Expand Down

0 comments on commit 32a7faf

Please sign in to comment.