Skip to content

Commit

Permalink
fix(linter): fix findings (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyo authored Oct 30, 2023
1 parent c561399 commit 98b94eb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export const RegistrationRequestsTableColumns = (
showConfirmOverlay(row.applicationId)
}
}}
onKeyDown={() => {}}
onKeyDown={() => {
// do nothing
}}
>
<EditIcon sx={{ color: '#d1d1d1', cursor: 'pointer' }} />
</span>
Expand Down
12 changes: 9 additions & 3 deletions src/components/pages/NotificationCenter/NotificationItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ export default function NotificationItem({
)}
<li
onClick={toggle}
onKeyDown={() => {}}
onKeyDown={() => {
// do nothing
}}
style={{
backgroundColor: userRead
? 'rgba(255, 255, 255, 1)'
Expand Down Expand Up @@ -377,7 +379,9 @@ export default function NotificationItem({
setRead(item.id, !userRead)
e.stopPropagation()
}}
onKeyDown={() => {}}
onKeyDown={() => {
// do nothing
}}
>
{userRead ? (
<Tooltips
Expand Down Expand Up @@ -419,7 +423,9 @@ export default function NotificationItem({
setShowDeleteModal(true)
e.stopPropagation()
}}
onKeyDown={() => {}}
onKeyDown={() => {
// do nothing
}}
>
<CloseIcon sx={{ fontSize: 15 }} />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@ export default function CommonContractAndConsent({
onClick={() =>
handleFrameDocumentDownload(item.name, item.documentId)
}
onKeyDown={() => {}}
onKeyDown={() => {
// do nothing
}}
>
{item.name}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ export default function SubscriptionElements({
subscriptionId: subscription.subscriptionId,
})
}}
onKeyDown={() => {}}
onKeyDown={() => {
// do nothing
}}
>
<IconButton color="secondary" size="small">
<Tooltips
Expand Down

0 comments on commit 98b94eb

Please sign in to comment.