Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit 24a6bda

Browse files
typescript fixes
1 parent 63cfc84 commit 24a6bda

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

client/src/components/Chat/Conversation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const Conversation = ({
5757
)}
5858
<p className="caption text-label-base flex-1">
5959
{m.isLoading
60-
? m.loadingSteps[m.loadingSteps.length - 1]
60+
? m.loadingSteps[m.loadingSteps.length - 1].displayText
6161
: 'Answer Ready'}
6262
</p>
6363
{!m.isLoading && !!m.results?.length ? (

client/src/components/Settings/Settings.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ export const Default = () => {
1212
return (
1313
<div className="">
1414
<UIContextProvider
15-
tab={{ name: '', repoName: '', key: '', source: RepoSource.LOCAL }}
15+
tab={{ name: '', key: '', repoName: '', source: RepoSource.LOCAL }}
1616
>
1717
<RepositoriesContext.Provider
1818
value={{
1919
repositories: [],
2020
setRepositories: () => {},
21+
fetchRepos: () => {},
2122
localSyncError: false,
2223
githubSyncError: false,
2324
}}

0 commit comments

Comments
 (0)