From 335a13a38a748bf3faa87e4ccb16202fc42721b3 Mon Sep 17 00:00:00 2001 From: megumin Date: Mon, 27 Feb 2023 21:19:01 +0000 Subject: fix tooltip component check (#541) --- src/webpack/common/components.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webpack/common/components.ts') diff --git a/src/webpack/common/components.ts b/src/webpack/common/components.ts index 0c02971..0b229ed 100644 --- a/src/webpack/common/components.ts +++ b/src/webpack/common/components.ts @@ -35,7 +35,7 @@ export const Forms = { export const Card = waitForComponent("Card", m => m.Types?.PRIMARY && m.defaultProps); export const Button = waitForComponent("Button", ["Hovers", "Looks", "Sizes"]); export const Switch = waitForComponent("Switch", filters.byCode("tooltipNote", "ringTarget")); -export const Tooltip = waitForComponent("Tooltip", ["Positions", "Colors"]); +export const Tooltip = waitForComponent("Tooltip", filters.byCode("shouldShowTooltip:!1", "clickableOnMobile||")); export const Timestamp = waitForComponent("Timestamp", filters.byCode(".Messages.MESSAGE_EDITED_TIMESTAMP_A11Y_LABEL.format")); export const TextInput = waitForComponent("TextInput", ["defaultProps", "Sizes", "contextType"]); export const TextArea = waitForComponent("TextArea", filters.byCode("handleSetRef", "textArea")); -- cgit