From 776bfc24956d3e2c9662c9d5d0a95ee37977fd04 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Wed, 9 Dec 2020 11:03:47 -0500 Subject: [PATCH] Fix after review typos optionnal => optional --- .../components/package_policy_input_var_field.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/package_policy_input_var_field.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/package_policy_input_var_field.tsx index 268ac37a22b55..883e85620c911 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/package_policy_input_var_field.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/package_policy_input_var_field.tsx @@ -89,8 +89,8 @@ export const PackagePolicyInputVarField: React.FunctionComponent<{ ); }, [isInvalid, multi, onChange, type, value, fieldLabel]); - // Boolean cannot be optionnal by default set to false - const isOptionnal = type !== 'bool' && !required; + // Boolean cannot be optional by default set to false + const isOptional = type !== 'bool' && !required; return (