Skip to content

Commit

Permalink
fix(web): drop no longer needed @ts-expect-error
Browse files Browse the repository at this point in the history
That was at core/EmptyState because props were not well defined when
using JSDoc. Now these props are properly defined with TypeScript, such
a directive is no longer necessary.
  • Loading branch information
dgdavid committed Oct 29, 2024
1 parent 9719d0b commit 749db9e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/src/components/storage/zfcp/ZFCPPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ const NoDisksFound = () => {
<EmptyState
title={_("No zFCP disks found.")}
icon="warning"
// @ts-expect-error: core/EmptyState props are not well defined
variant="sm"
actions={
activeController && (
Expand Down

0 comments on commit 749db9e

Please sign in to comment.