From 9bb86afa33c5ab5152dd313a38f35dd0b349ddff Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 4 Apr 2022 08:40:21 +0000 Subject: [PATCH] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- x-pack/plugins/osquery/public/components/layouts/header.tsx | 2 +- .../osquery/public/components/layouts/with_header.tsx | 2 +- x-pack/plugins/osquery/public/packs/form/index.tsx | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/osquery/public/components/layouts/header.tsx b/x-pack/plugins/osquery/public/components/layouts/header.tsx index 56d43b1c00e48..6049e1d7bacb0 100644 --- a/x-pack/plugins/osquery/public/components/layouts/header.tsx +++ b/x-pack/plugins/osquery/public/components/layouts/header.tsx @@ -56,7 +56,7 @@ const HeaderColumns: React.FC> = memo( HeaderColumns.displayName = 'HeaderColumns'; - const HeaderComponent: React.FC = ({ +const HeaderComponent: React.FC = ({ children, leftColumn, rightColumn, diff --git a/x-pack/plugins/osquery/public/components/layouts/with_header.tsx b/x-pack/plugins/osquery/public/components/layouts/with_header.tsx index 692e2a70254fe..8b4392c388e87 100644 --- a/x-pack/plugins/osquery/public/components/layouts/with_header.tsx +++ b/x-pack/plugins/osquery/public/components/layouts/with_header.tsx @@ -16,7 +16,7 @@ export interface WithHeaderLayoutProps extends HeaderProps { restrictHeaderWidth?: number; 'data-test-subj'?: string; children?: React.ReactNode; - headerChildren?: React.ReactNode + headerChildren?: React.ReactNode; } export const WithHeaderLayout: React.FC = ({ diff --git a/x-pack/plugins/osquery/public/packs/form/index.tsx b/x-pack/plugins/osquery/public/packs/form/index.tsx index 13b63ef41d1cf..41f51181aa304 100644 --- a/x-pack/plugins/osquery/public/packs/form/index.tsx +++ b/x-pack/plugins/osquery/public/packs/form/index.tsx @@ -51,7 +51,11 @@ interface PackFormProps { isReadOnly?: boolean; } -const PackFormComponent: React.FC = ({ defaultValue, editMode = false, isReadOnly = false }) => { +const PackFormComponent: React.FC = ({ + defaultValue, + editMode = false, + isReadOnly = false, +}) => { const [showConfirmationModal, setShowConfirmationModal] = useState(false); const handleHideConfirmationModal = useCallback(() => setShowConfirmationModal(false), []);