Skip to content

Commit

Permalink
wip: fix core src
Browse files Browse the repository at this point in the history
  • Loading branch information
karliatto committed Nov 1, 2024
1 parent 373d1ab commit 4cb4b2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/connect/src/impl/core-in-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export class CoreInModule implements ConnectFactoryDependencies<ConnectSettingsP
}

private async initCoreManager() {
const { connectSrc } = this._settings;
const { initCoreState, initTransport } = await import(
// @ts-expect-error
/* webpackIgnore: true */ `/js/core.js`
/* webpackIgnore: true */ `${connectSrc}js/core.js`
).catch(_err => {
this._log.error('_err', _err);
});
Expand Down
3 changes: 1 addition & 2 deletions packages/suite/src/support/extraDependencies.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { saveAs } from 'file-saver';
import { PayloadAction } from '@reduxjs/toolkit';

import { resolveStaticPath } from '@suite-common/suite-utils';
import { getAccountKey, buildHistoricRatesFromStorage } from '@suite-common/wallet-utils';
import {
DeviceRootState,
Expand Down Expand Up @@ -40,7 +39,7 @@ import { selectSuiteSettings } from '../reducers/suite/suiteReducer';
import { addWalletThunk, openSwitchDeviceDialog } from 'src/actions/wallet/addWalletThunk';
import { isDesktop } from '@trezor/env-utils';

const connectSrc = resolveStaticPath('connect/');
const connectSrc = '../';
// 'https://localhost:8088/';
// 'https://connect.corp.sldev.cz/develop/';

Expand Down

0 comments on commit 4cb4b2c

Please sign in to comment.