Skip to content

Commit

Permalink
[website] Fix init icon in ReactLive
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkha committed Apr 12, 2024
1 parent c4e0d28 commit e6e92d1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ const ReactLiveDisplay: FunctionComponent<ReactLiveDisplayProps> = ({
codeExample,
noInline,
}) => {
const customComponent = {...FiligranUIComponent, ...FiligranIcon}
const customIcon = { ...FiligranIcon };
// @ts-ignore
delete customIcon['default'];
const customComponent = {...FiligranUIComponent, ...customIcon}
return (
<div className="py-4">
<LiveProvider
Expand Down

0 comments on commit e6e92d1

Please sign in to comment.