Skip to content

Commit 9f7ca30

Browse files
chore: removed dev check
1 parent 2c3cce8 commit 9f7ca30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/appkit/src/AppKit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ export class AppKit {
686686
this.setCustomWallets(options);
687687
OptionsController.setFeaturedWalletIds(options.featuredWalletIds);
688688
OptionsController.setEnableAnalytics(options.enableAnalytics);
689-
OptionsController.setDebug(options.debug && __DEV__);
689+
OptionsController.setDebug(options.debug);
690690

691691
LogController.sendInfo('AppKit initialization started', 'AppKit.ts', 'initControllers', {
692692
projectId: options.projectId,

packages/core/src/controllers/LogController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const LogController = {
9191
data?: Record<string, unknown>
9292
) {
9393
if (!OptionsController.state.debug) {
94-
return; // Logs were not stored when debug=false
94+
return;
9595
}
9696
const entry: LogEntry = {
9797
id: generateLogId(),

0 commit comments

Comments
 (0)