From 428ef630f1e5c559e37c427ca1407ab6f41b1542 Mon Sep 17 00:00:00 2001 From: Samuel Valdes Gutierrez Date: Wed, 1 Nov 2023 19:26:34 +0000 Subject: [PATCH] fixing typo lines 122 and 123 flexItem.tsx Signed-off-by: Samuel Valdes Gutierrez --- src/components/flex/flex_item.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/flex/flex_item.tsx b/src/components/flex/flex_item.tsx index 2cb47d7047..49c6d5afd8 100644 --- a/src/components/flex/flex_item.tsx +++ b/src/components/flex/flex_item.tsx @@ -118,8 +118,8 @@ export const OuiFlexItem: FunctionComponent< ? SHRINK_SIZES.indexOf(shrink) >= 0 : undefined, [`ouiFlexItem--flexBasis${basis}`]: - typeof shrink === 'string' - ? BASIS_VALUES.indexOf(shrink) >= 0 + typeof basis === 'string' + ? BASIS_VALUES.indexOf(basis) >= 0 : undefined, }, className