mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-02 01:11:24 -07:00
test: add more tests for AskUser (#17720)
This commit is contained in:
@@ -24,9 +24,8 @@ interface AskUserActionsContextValue {
|
||||
cancel: () => void;
|
||||
}
|
||||
|
||||
const AskUserActionsContext = createContext<AskUserActionsContextValue | null>(
|
||||
null,
|
||||
);
|
||||
export const AskUserActionsContext =
|
||||
createContext<AskUserActionsContextValue | null>(null);
|
||||
|
||||
export const useAskUserActions = () => {
|
||||
const context = useContext(AskUserActionsContext);
|
||||
|
||||
Reference in New Issue
Block a user