mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 20:44:46 -07:00
refactor(ui): Optimize rendering performance (#8239)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2025 Google LLC
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { createContext, useContext } from 'react';
|
||||
|
||||
export const FocusContext = createContext<boolean>(true);
|
||||
|
||||
export const useFocusState = () => useContext(FocusContext);
|
||||
Reference in New Issue
Block a user