Skip to content

Commit

Permalink
feat(certificates): remove codesmells
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhigarg-bmw committed Jul 11, 2023
1 parent a735761 commit 4e224bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/components/pages/CertificateCredentials/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,23 +189,23 @@ export default function CertificateCredentials() {
<div className="mainContainer">
<div className="searchContainer">
<SearchInput
placeholder={t('content.certificates.search')}
value={searchExpr}
autoFocus={false}
placeholder={t('content.certificates.search')}
onChange={(e) => handleSearch(e.target.value)}
autoComplete="off"
autoFocus={false}
/>
</div>
<div
className="filterSection"
onMouseLeave={() =>
setState({
type: ActionKind.SET_SHOW_MODAL,
payload: false,
})
}
className="filterSection"
>
<ViewSelector activeView={selected} views={tabButtons} />
<ViewSelector views={tabButtons} activeView={selected} />
<SortImage
onClick={() =>
setState({
Expand All @@ -218,9 +218,9 @@ export default function CertificateCredentials() {
<div className="sortSection">
<SortOption
show={showModal}
sortOptions={sortOptions}
selectedOption={sortOption}
setSortOption={handleSortOption}
sortOptions={sortOptions}
/>
</div>
</div>
Expand Down
5 changes: 0 additions & 5 deletions src/components/shared/basic/CertificateCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,6 @@ export const CertificateCard = ({
</Box>
</>
)}
{/* {description && (
<Typography variant="label4" className="description">
{description}
</Typography>
)} */}
</Box>
</div>
</Box>
Expand Down

0 comments on commit 4e224bb

Please sign in to comment.