From c65e1f88d23cac2dd0d26782f29f28a4742e251e Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 7 May 2024 06:28:43 -0300 Subject: [PATCH] Improve description of some finds --- src/webpack/webpack.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webpack/webpack.tsx b/src/webpack/webpack.tsx index b305d8d2c..1547df507 100644 --- a/src/webpack/webpack.tsx +++ b/src/webpack/webpack.tsx @@ -281,7 +281,7 @@ export function findExportedComponent(...props: string[] } /** - * Find the first component that includes all the given code. + * Find the first component in a default export that includes all the given code. * * @example findComponentByCode(".Messages.USER_SETTINGS_PROFILE_COLOR_SELECT_COLOR") * @example findComponentByCode(".Messages.USER_SETTINGS_PROFILE_COLOR_SELECT_COLOR", ".BACKGROUND_PRIMARY)", ColorPicker => React.memo(ColorPicker)) @@ -319,7 +319,7 @@ export function findByProps(...props: string[]) { } /** - * Find the first export that includes all the given code. + * Find the first default export that includes all the given code. * * @param code A list of code to search each export for */