diff --git a/rsconcept/frontend/src/components/Icons.tsx b/rsconcept/frontend/src/components/Icons.tsx index 9ce4274e..d70cd122 100644 --- a/rsconcept/frontend/src/components/Icons.tsx +++ b/rsconcept/frontend/src/components/Icons.tsx @@ -40,7 +40,7 @@ export { LuFolderEdit as IconFolderEdit } from 'react-icons/lu'; export { LuFolderOpen as IconFolderOpened } from 'react-icons/lu'; export { LuFolderClosed as IconFolderClosed } from 'react-icons/lu'; export { LuFolderDot as IconFolderEmpty } from 'react-icons/lu'; -export { LuLightbulb as IconHelp } from 'react-icons/lu'; +export { TbHelpOctagon as IconHelp } from 'react-icons/tb'; export { LuLightbulbOff as IconHelpOff } from 'react-icons/lu'; export { RiPushpinFill as IconPin } from 'react-icons/ri'; export { RiUnpinLine as IconUnpin } from 'react-icons/ri'; diff --git a/rsconcept/frontend/src/components/info/BadgeHelp.tsx b/rsconcept/frontend/src/components/info/BadgeHelp.tsx index 16bafee4..74ff106c 100644 --- a/rsconcept/frontend/src/components/info/BadgeHelp.tsx +++ b/rsconcept/frontend/src/components/info/BadgeHelp.tsx @@ -1,5 +1,3 @@ -import clsx from 'clsx'; - import TextURL from '@/components/ui/TextURL'; import Tooltip, { PlacesType } from '@/components/ui/Tooltip'; import { useConceptOptions } from '@/context/ConceptOptionsContext'; @@ -16,14 +14,14 @@ interface BadgeHelpProps extends CProps.Styling { place?: PlacesType; } -function BadgeHelp({ topic, padding, ...restProps }: BadgeHelpProps) { +function BadgeHelp({ topic, padding = 'p-1', ...restProps }: BadgeHelpProps) { const { showHelp } = useConceptOptions(); if (!showHelp) { return null; } return ( -