Skip to content

Commit

Permalink
Fix custom svg placeholder for SSR [prerelease]
Browse files Browse the repository at this point in the history
  • Loading branch information
MosheZemah committed Oct 10, 2024
1 parent 27220e1 commit 5ab1289
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const CustomSvgIcon: FunctionComponent<CustomSvgIconProps> = ({
innerRef={ref}
{...screenReaderAccessProps}
onClick={onClick}
loader={PlaceHolder}
loader={PlaceHolder} // avoid flickering
src={src}
className={className}
preProcessor={svgProcessor}
Expand Down

0 comments on commit 5ab1289

Please sign in to comment.