mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 05:55:17 -07:00
fix(rendering): remove React.strictMode from gemini.tsx (#8145)
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from 'react';
|
|
||||||
import { render } from 'ink';
|
import { render } from 'ink';
|
||||||
import { AppContainer } from './ui/AppContainer.js';
|
import { AppContainer } from './ui/AppContainer.js';
|
||||||
import { loadCliConfig, parseArguments } from './config/config.js';
|
import { loadCliConfig, parseArguments } from './config/config.js';
|
||||||
@@ -176,15 +175,10 @@ export async function startInteractiveUI(
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const instance = render(
|
const instance = render(<AppWrapper />, {
|
||||||
<React.StrictMode>
|
exitOnCtrlC: false,
|
||||||
<AppWrapper />
|
isScreenReaderEnabled: config.getScreenReader(),
|
||||||
</React.StrictMode>,
|
});
|
||||||
{
|
|
||||||
exitOnCtrlC: false,
|
|
||||||
isScreenReaderEnabled: config.getScreenReader(),
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
checkForUpdates()
|
checkForUpdates()
|
||||||
.then((info) => {
|
.then((info) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user