Skip to content

Commit

Permalink
feature(query-tracker): hide query history sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
vitshev committed Dec 12, 2023
1 parent 19d517b commit 72994f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Button} from '@gravity-ui/uikit';
import Icon from '../../../components/Icon/Icon';
import {useQueriesListSidebarToggle} from '../hooks/QueriesList';

export function QueriesListSideBarToggleButton() {
export function QueriesListSidebarToggleButton() {
const { isQueriesListSidebarVisible, toggleQueriesListSideBarToggle } = useQueriesListSidebarToggle();

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {QueryMetaForm} from './QueryMetaForm/QueryMetaForm';

import './index.scss';
import {getQueryGetParams} from '../module/query/selectors';
import {QueriesListSideBarToggleButton} from '../QueriesListSideBarToggleButton/QueriesListSideBarToggleButton';
import {QueriesListSidebarToggleButton} from '../QueriesListSidebarToggleButton/QueriesListSidebarToggleButton';

const block = cn('query-tracker-top-row-content');

Expand All @@ -31,7 +31,7 @@ export default function QueryTrackerTopRow() {
return (
<RowWithName page={Page.QUERIES}>
<QueryHeader />
<QueriesListSideBarToggleButton />
<QueriesListSidebarToggleButton />
</RowWithName>
);
}

0 comments on commit 72994f4

Please sign in to comment.