chore: enable eslint rule react/no-danger (#17983)
* enable react/no-danger and disable rule all places * remove wild rule
This commit is contained in:
1 parent
509fc4b289
commit
a75a5b72b2
22 files changed
+43
-4
No files matched your search
@@ -119,6 +119,7 @@ export function UserPage(props: PageProps) {
|
||||
<>
|
||||
<div
|
||||
className=" text-subtle break-words text-sm [&_a]:text-blue-500 [&_a]:underline [&_a]:hover:text-blue-600"
|
||||
// eslint-disable-next-line react/no-danger
|
||||
dangerouslySetInnerHTML={{ __html: props.safeBio }}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user