Skip to content

Commit

Permalink
remove prop types and rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay-sentry committed Apr 30, 2024
1 parent 57889f8 commit a8e529b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/layouts/Header/Dropdown.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import cs from 'classnames'
import { useSelect } from 'downshift'
import PropTypes from 'prop-types'
import { useParams } from 'react-router-dom'

import config from 'config'
Expand All @@ -16,15 +15,6 @@ interface URLParams {
provider: string
}

Dropdown.propTypes = {
currentUser: PropTypes.shape({
user: PropTypes.shape({
avatarUrl: PropTypes.string.isRequired,
username: PropTypes.string.isRequired,
}).isRequired,
}),
}

type CurrentUser = {
user: {
avatarUrl: string
Expand Down

0 comments on commit a8e529b

Please sign in to comment.