Browse Source

Fix icons

pull/497/head
mrjvs 2 years ago
parent
commit
4289b96039
  1. 3
      src/components/Icon.tsx

3
src/components/Icon.tsx

@ -1,4 +1,3 @@ @@ -1,4 +1,3 @@
import classNames from "classnames";
import { memo, useEffect, useRef } from "react";
export enum Icons {
@ -114,7 +113,7 @@ export const Icon = memo((props: IconProps) => { @@ -114,7 +113,7 @@ export const Icon = memo((props: IconProps) => {
return (
<span
dangerouslySetInnerHTML={{ __html: iconList[props.icon] }} // eslint-disable-line react/no-danger
className={classNames(props.className, "inline-block")}
className={props.className}
/>
);
});

Loading…
Cancel
Save