Skip to content

Commit

Permalink
Lint fixes for 2.6
Browse files Browse the repository at this point in the history
Signed-off-by: Yaacov Zamir <[email protected]>
  • Loading branch information
yaacov committed Feb 26, 2024
1 parent b7126b7 commit 1a68415
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/eslint-plugin/cspell.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ storageclasses
storageclass
storagedomains
esxi
KJUR
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { PageSection, Title } from '@patternfly/react-core';

import { PlanDetailsTabProps } from '../../PlanDetailsPage';

export const PlanHooks: React.FC<PlanDetailsTabProps> = ({ plan, loaded, loadError }) => {
export const PlanHooks: React.FC<PlanDetailsTabProps> = ({ plan }) => {
const { t } = useForkliftTranslation();

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { PageSection, Title } from '@patternfly/react-core';

import { PlanDetailsTabProps } from '../../PlanDetailsPage';

export const PlanMappings: React.FC<PlanDetailsTabProps> = ({ plan, loaded, loadError }) => {
export const PlanMappings: React.FC<PlanDetailsTabProps> = ({ plan }) => {
const { t } = useForkliftTranslation();

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { PageSection, Title } from '@patternfly/react-core';

import { PlanDetailsTabProps } from '../../PlanDetailsPage';

export const PlanVirtualMachines: React.FC<PlanDetailsTabProps> = ({ plan, loaded, loadError }) => {
export const PlanVirtualMachines: React.FC<PlanDetailsTabProps> = ({ plan }) => {
const { t } = useForkliftTranslation();

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ResourceYAMLEditor } from '@openshift-console/dynamic-plugin-sdk';

import { PlanDetailsTabProps } from '../../PlanDetailsPage';

export const PlanYAML: React.FC<PlanDetailsTabProps> = ({ plan, loaded, loadError }) => {
export const PlanYAML: React.FC<PlanDetailsTabProps> = ({ plan }) => {
const { t } = useForkliftTranslation();

return <ResourceYAMLEditor header={t('Provider YAML')} initialResource={plan} />;
Expand Down

0 comments on commit 1a68415

Please sign in to comment.