Skip to content

Commit

Permalink
more refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Sep 26, 2024
1 parent a46e527 commit 5708b23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ecc/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ export const LIBS = (() => {
(async function loadPage() {
const { loadArea, setConfig, getConfig, updateConfig, loadLana } = await import(`${LIBS}/utils/utils.js`);
setConfig({ ...CONFIG, miloLibs: LIBS });
const eccEnv = getECCEnv(getConfig());
window.miloConfig = updateConfig({ ...getConfig(), eccEnv });
window.miloConfig = updateConfig({ ...getConfig(), eccEnv: getECCEnv(getConfig()) });
await loadLana({ clientId: 'ecc-milo' });
await loadArea().then(() => {
lazyCaptureProfile();
Expand Down

0 comments on commit 5708b23

Please sign in to comment.