Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
rosewang01 committed May 22, 2024
1 parent d20d8c9 commit 9430e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/HTMLMapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ function HTMLMapper(props: HTMLMapperProps) {
{{
p: null,
// eslint-disable-next-line react/jsx-no-undef, react/jsx-props-no-spreading, react/no-unstable-nested-components
a: ({ href, children, ...rest }) => (
a: ({ href, children, ...rest }: any) => (
// eslint-disable-next-line react/jsx-props-no-spreading
<a href={href} {...rest}>
<a href={href || ''} {...rest}>
{children}
</a>
),
Expand Down

0 comments on commit 9430e09

Please sign in to comment.