mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
refactor: use React strict mode (#569)
This commit is contained in:
@@ -70,12 +70,14 @@ async function main() {
|
||||
process.env.CLI_VERSION || readUpResult?.packageJson.version || 'unknown';
|
||||
|
||||
render(
|
||||
React.createElement(App, {
|
||||
config,
|
||||
settings,
|
||||
cliVersion,
|
||||
startupWarnings,
|
||||
}),
|
||||
<React.StrictMode>
|
||||
<App
|
||||
config={config}
|
||||
settings={settings}
|
||||
cliVersion={cliVersion}
|
||||
startupWarnings={startupWarnings}
|
||||
/>
|
||||
</React.StrictMode>,
|
||||
);
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user