Skip to content

Commit

Permalink
Fixed typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Nov 3, 2024
1 parent 1e65467 commit f34efc5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/admin/src-admin/src/components/ObjectBrowser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,6 @@ export function getSelectIdIconFromObjects(
} else if (cIcon.startsWith('data:image/svg')) {
// if base 64 image
const svgEl: any = (
// @ts-expect-error unknown error: 'SVG' cannot be used as a JSX component. Its return type 'string | number | boolean | Element | Iterable<ReactNode>' is not a valid JSX element.
<SVG
className="iconOwn"
src={cIcon}
Expand Down

0 comments on commit f34efc5

Please sign in to comment.