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,