Skip to content

Commit

Permalink
Merge pull request #955 from yaacov/lint-fixes
Browse files Browse the repository at this point in the history
🧼  Lint fixes for 2.6
  • Loading branch information
yaacov authored Feb 26, 2024
2 parents b7126b7 + 1a68415 commit a377656
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 a377656

Please sign in to comment.