Skip to content

Commit

Permalink
chore(ui): remove useless file
Browse files Browse the repository at this point in the history
  • Loading branch information
sranka committed Apr 1, 2022
1 parent aa917eb commit 17c2d5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 43 deletions.
11 changes: 6 additions & 5 deletions ui/src/side_nav/containers/SideNav.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import _ from 'lodash'
import React, {PureComponent} from 'react'
import {withRouter, Link} from 'react-router'
import {withRouter, Link, WithRouterProps} from 'react-router'
import {connect} from 'react-redux'

import Authorized, {ADMIN_ROLE} from 'src/auth/Authorized'
Expand All @@ -16,20 +16,21 @@ import {
import {DEFAULT_HOME_PAGE} from 'src/shared/constants'
import {ErrorHandling} from 'src/shared/decorators/errors'

import {Params, Location} from 'src/types/sideNav'
import {Env, Source, Links, Me} from 'src/types'

interface Props {
interface OwnProps {
sources: Source[]
params: Params
location: Location
isHidden: boolean
isUsingAuth?: boolean
logoutLink?: string
links?: Links
me: Me
env: Env
}
type RouterProps = WithRouterProps<{
sourceID: string
}>
type Props = OwnProps & RouterProps

@ErrorHandling
class SideNav extends PureComponent<Props> {
Expand Down
38 changes: 0 additions & 38 deletions ui/src/types/sideNav.ts

This file was deleted.

0 comments on commit 17c2d5d

Please sign in to comment.