This commit is contained in:
Steve Faulkner
2021-05-05 19:31:07 -05:00
parent 4299b86c55
commit 0e0e6a2257
3 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ import { NotebookUtil } from "./Notebook/NotebookUtil";
import AddCollectionPane from "./Panes/AddCollectionPane";
import { AddCollectionPanel } from "./Panes/AddCollectionPanel";
import AddDatabasePane from "./Panes/AddDatabasePane";
import { AddDatabasePanelF } from "./Panes/AddDatabasePanel/AddDatabasePanel";
import { AddDatabasePanel } from "./Panes/AddDatabasePanel/AddDatabasePanel";
import { BrowseQueriesPane } from "./Panes/BrowseQueriesPane/BrowseQueriesPane";
import CassandraAddCollectionPane from "./Panes/CassandraAddCollectionPane";
import { ContextualPaneBase } from "./Panes/ContextualPaneBase";
@@ -2047,7 +2047,7 @@ export default class Explorer {
} else {
this.openSidePanel(
"Add Database",
<AddDatabasePanelF
<AddDatabasePanel
explorer={this}
openNotificationConsole={this.expandConsole}
closePanel={this.closeSidePanel}

View File

@@ -1,7 +1,7 @@
import { shallow } from "enzyme";
import React from "react";
import Explorer from "../../Explorer";
import { AddDatabasePanelF } from "./AddDatabasePanel";
import { AddDatabasePanel } from "./AddDatabasePanel";
const props = {
explorer: new Explorer(),
@@ -11,7 +11,7 @@ const props = {
describe("AddDatabasePane Pane", () => {
it("should render Default properly", () => {
const wrapper = shallow(<AddDatabasePanelF {...props} />);
const wrapper = shallow(<AddDatabasePanel {...props} />);
expect(wrapper).toMatchSnapshot();
});
});

View File

@@ -24,7 +24,7 @@ export interface AddDatabasePaneProps {
openNotificationConsole: () => void;
}
export const AddDatabasePanelF: FunctionComponent<AddDatabasePaneProps> = ({
export const AddDatabasePanel: FunctionComponent<AddDatabasePaneProps> = ({
explorer: container,
closePanel,
openNotificationConsole,