Skip to content

Commit

Permalink
clear up some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwatson committed Nov 26, 2024
1 parent ec0fb66 commit 618c037
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ui/src/pages/DataSources/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ import DataSourceVisualization from "pages/DataSources/VisualizationTab/DataSour

export const tabItems: TabsProps["items"] = [
{
key: "1",
key: "manage",
label: "Manage",
children: <FileManagement />,
},
{
key: "2",
key: "settings",
label: "Index Settings",
children: <IndexSettings />,
},
{
key: "3",
key: "connections",
label: "Connections",
children: <DataSourceConnections />,
},
Expand All @@ -69,7 +69,7 @@ export const tabItems: TabsProps["items"] = [
const DataSourcesTabs = () => {
return (
<Flex vertical style={{ width: "80%", maxWidth: 1000 }} gap={20}>
<Tabs defaultActiveKey="viz" items={tabItems} centered />
<Tabs defaultActiveKey="manage" items={tabItems} centered />
</Flex>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const DataSourceVisualization = () => {
<Flex vertical align="center" justify="center">
<VectorGraph rawData={vectorData} />
<Input
disabled={questionMutation.isPending || isPending}
disabled={questionMutation.isPending}
style={{ width: 700 }}
placeholder={"Try asking a question"}
value={userInput}
Expand Down

0 comments on commit 618c037

Please sign in to comment.