From bbe6d1e0a35aacae6b93368caffc6f7e22514f3e Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Wed, 4 Jun 2025 15:16:44 +0200 Subject: [PATCH] fix typos in Maybe comments (#1052) --- src/ftxui/component/maybe.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ftxui/component/maybe.cpp b/src/ftxui/component/maybe.cpp index 2dd462e7..2fa8ec52 100644 --- a/src/ftxui/component/maybe.cpp +++ b/src/ftxui/component/maybe.cpp @@ -15,7 +15,7 @@ namespace ftxui { /// @brief Decorate a component |child|. It is shown only when |show| returns /// true. -/// @param child the compoenent to decorate. +/// @param child the component to decorate. /// @param show a function returning whether |child| should shown. /// @ingroup component Component Maybe(Component child, std::function show) { @@ -61,7 +61,7 @@ ComponentDecorator Maybe(std::function show) { } /// @brief Decorate a component |child|. It is shown only when |show| is true. -/// @param child the compoennt to decorate. +/// @param child the component to decorate. /// @param show a boolean. |child| is shown when |show| is true. /// @ingroup component ///