From 1a23066742b5610558525be8f8ba99f0125b64cc Mon Sep 17 00:00:00 2001 From: openhands Date: Fri, 20 Dec 2024 19:26:09 +0000 Subject: [PATCH] Fix typo in Redux store key (initalQuery -> initialQuery) --- frontend/src/components/features/chat/action-suggestions.tsx | 2 +- frontend/src/store.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/features/chat/action-suggestions.tsx b/frontend/src/components/features/chat/action-suggestions.tsx index 2103883b5e827..1ec04285a0d43 100644 --- a/frontend/src/components/features/chat/action-suggestions.tsx +++ b/frontend/src/components/features/chat/action-suggestions.tsx @@ -14,7 +14,7 @@ export function ActionSuggestions({ onSuggestionsClick, }: ActionSuggestionsProps) { const { gitHubToken } = useAuth(); - const selectedRepository = useSelector((state: RootState) => state.initalQuery.selectedRepository); + const selectedRepository = useSelector((state: RootState) => state.initialQuery.selectedRepository); const [isDownloading, setIsDownloading] = React.useState(false); const [hasPullRequest, setHasPullRequest] = React.useState(false); diff --git a/frontend/src/store.ts b/frontend/src/store.ts index 7c27f37cfa163..3d20023d07fb5 100644 --- a/frontend/src/store.ts +++ b/frontend/src/store.ts @@ -12,7 +12,7 @@ import statusReducer from "./state/status-slice"; export const rootReducer = combineReducers({ fileState: fileStateReducer, - initalQuery: initialQueryReducer, + initialQuery: initialQueryReducer, browser: browserReducer, chat: chatReducer, code: codeReducer,