Skip to content

Commit

Permalink
cleanup a bit databrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
MonPote committed Oct 27, 2022
1 parent 1abc16b commit 4043dc5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/react/databrowser/DataBrowser.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import * as L from '../ui-elements/ListLayout2';
import { Route, Switch, useLocation } from 'react-router-dom';
import { useParams, useRouteMatch } from 'react-router';
import { useDispatch, useSelector } from 'react-redux';
import { push } from 'connected-react-router';

import * as L from '../ui-elements/ListLayout2';
import type { AppState } from '../../types/state';
import { Breadcrumb, breadcrumbPathsBuckets } from '../ui-elements/Breadcrumb';
import Buckets from './buckets/Buckets';
import { EmptyStateContainer } from '../ui-elements/Container';
import ListLayoutButtons from './HeaderButtons';
import Objects from './objects/Objects';
import React from 'react';
import { Warning } from '../ui-elements/Warning';
import { clearError } from '../actions';
import { push } from 'connected-react-router';
import ObjectLockSetting from './buckets/ObjectLockSetting';
import ObjectLockSettingOnObject from './objects/ObjectLockSetting';
import { useAccounts, useQueryParams } from '../utils/hooks';
Expand Down Expand Up @@ -74,10 +74,7 @@ export default function DataBrowser() {
accountName,
)}
/>
<Switch>
<Route exact path={`${path}/:bucketName/retention-setting`} />
<Route path={`${path}/:bucketName`} component={ListLayoutButtons} />
</Switch>
<Route path={`${path}/:bucketName`} component={ListLayoutButtons} />
</L.BreadcrumbContainer>
<Switch>
<Route
Expand Down

0 comments on commit 4043dc5

Please sign in to comment.