Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update index.tsx

Kiran Ka4818a30758d
diff --git a/packages/ui/src/rich-text-area/index.tsx b/packages/ui/src/rich-text-area/index.tsx
index c5030d83e5..7eedb68349 100644
--- a/packages/ui/src/rich-text-area/index.tsx
+++ b/packages/ui/src/rich-text-area/index.tsx
@@ -101,7 +101,7 @@ export function RichTextArea({
...(variables
? [
Mention.extend({
- renderHTML({ node }) {
+ renderHTML({ node }: { node: any }) {
return [
"span",
{
@@ -113,7 +113,7 @@ export function RichTextArea({
`{{${node.attrs.id}}}`,
];
},
- renderText({ node }) {
+ renderText({ node }: { node: any }) {
return `{{${node.attrs.id}}}`;
},
}).configure({