about summary refs log tree commit diff
path: root/src/components/RichText.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-02-29 15:23:28 -0800
committerGitHub <noreply@github.com>2024-02-29 15:23:28 -0800
commit39d324ab8bd99ca0e19f3e8f4dea5a61d54e6bb4 (patch)
treee6276c84d60886234df8f8363a37bbedaab6ca5f /src/components/RichText.tsx
parent1a5afccdb809d7a8a2e9ebb356b499135a5ff175 (diff)
downloadvoidsky-39d324ab8bd99ca0e19f3e8f4dea5a61d54e6bb4.tar.zst
Fix link warnings (#3058)
* fix problems where www.bsky.app shows as a potential danger

* never default to disabling warning

* remove more defaults

* update storybook cases

* oops

* reverse
Diffstat (limited to 'src/components/RichText.tsx')
-rw-r--r--src/components/RichText.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/RichText.tsx b/src/components/RichText.tsx
index 3d5f08026..5d82d7e5e 100644
--- a/src/components/RichText.tsx
+++ b/src/components/RichText.tsx
@@ -105,8 +105,7 @@ export function RichText({
             to={link.uri}
             style={[...styles, {pointerEvents: 'auto'}]}
             // @ts-ignore TODO
-            dataSet={WORD_WRAP}
-            warnOnMismatchingLabel>
+            dataSet={WORD_WRAP}>
             {toShortUrl(segment.text)}
           </InlineLink>,
         )