aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/common/components.ts
diff options
context:
space:
mode:
authormegumin <megumin.bakaretsurie@gmail.com>2023-02-27 21:19:01 +0000
committerGitHub <noreply@github.com>2023-02-27 21:19:01 +0000
commit335a13a38a748bf3faa87e4ccb16202fc42721b3 (patch)
treee3d96efbb4fc92c232ff45b11bb2be49c3ede217 /src/webpack/common/components.ts
parent128ee41252b1bf9c3e415ec94ce26d5dc3e7c7ee (diff)
downloadVencord-335a13a38a748bf3faa87e4ccb16202fc42721b3.tar.gz
Vencord-335a13a38a748bf3faa87e4ccb16202fc42721b3.tar.bz2
Vencord-335a13a38a748bf3faa87e4ccb16202fc42721b3.zip
fix tooltip component check (#541)
Diffstat (limited to 'src/webpack/common/components.ts')
-rw-r--r--src/webpack/common/components.ts2
1 files changed, 1 insertions, 1 deletions
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<t.Card>("Card", m => m.Types?.PRIMARY && m.defaultProps);
export const Button = waitForComponent<t.Button>("Button", ["Hovers", "Looks", "Sizes"]);
export const Switch = waitForComponent<t.Switch>("Switch", filters.byCode("tooltipNote", "ringTarget"));
-export const Tooltip = waitForComponent<t.Tooltip>("Tooltip", ["Positions", "Colors"]);
+export const Tooltip = waitForComponent<t.Tooltip>("Tooltip", filters.byCode("shouldShowTooltip:!1", "clickableOnMobile||"));
export const Timestamp = waitForComponent<t.Timestamp>("Timestamp", filters.byCode(".Messages.MESSAGE_EDITED_TIMESTAMP_A11Y_LABEL.format"));
export const TextInput = waitForComponent<t.TextInput>("TextInput", ["defaultProps", "Sizes", "contextType"]);
export const TextArea = waitForComponent<t.TextArea>("TextArea", filters.byCode("handleSetRef", "textArea"));