Skip to content

Commit 3bb88ce

Browse files
committed
fix: optimize log
1 parent e58ebe9 commit 3bb88ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/icestark/src/AppRoute.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default class AppRoute extends React.Component<AppRouteProps, AppRouteSta
9090
if (loadScriptMode && loadScriptMode !== 'fetch') {
9191
console.error('[icestark] runtime option can only be used when loadScriptMode is set to "fetch"');
9292
} else if (!loadScriptMode) {
93-
console.warn('[icestark] Runtime option detected but loadScriptMode not set - automatically switching to "fetch" mode');
93+
console.log('[icestark] Runtime option detected but loadScriptMode not set - automatically switching to "fetch" mode');
9494
}
9595
}
9696
}

0 commit comments

Comments
 (0)