mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-05-24 09:38:34 +00:00
fix(rendering): remove React.strictMode from gemini.tsx (#8145)
This commit is contained in:
parent
514767c88b
commit
3ceefe8732
1 changed files with 4 additions and 10 deletions
|
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { render } from 'ink';
|
||||
import { AppContainer } from './ui/AppContainer.js';
|
||||
import { loadCliConfig, parseArguments } from './config/config.js';
|
||||
|
|
@ -176,15 +175,10 @@ export async function startInteractiveUI(
|
|||
);
|
||||
};
|
||||
|
||||
const instance = render(
|
||||
<React.StrictMode>
|
||||
<AppWrapper />
|
||||
</React.StrictMode>,
|
||||
{
|
||||
exitOnCtrlC: false,
|
||||
isScreenReaderEnabled: config.getScreenReader(),
|
||||
},
|
||||
);
|
||||
const instance = render(<AppWrapper />, {
|
||||
exitOnCtrlC: false,
|
||||
isScreenReaderEnabled: config.getScreenReader(),
|
||||
});
|
||||
|
||||
checkForUpdates()
|
||||
.then((info) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue