From 49554a239c0db110d9dbe6e85cccc7aa90182ab0 Mon Sep 17 00:00:00 2001 From: Matthieu Auger Date: Wed, 28 Feb 2024 16:59:56 +0100 Subject: [PATCH 1/2] :bug: fix dangerouslySetInnerHTML for tooltip --- components/ui/Button.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ui/Button.tsx b/components/ui/Button.tsx index 778ab79..9aa2342 100644 --- a/components/ui/Button.tsx +++ b/components/ui/Button.tsx @@ -66,6 +66,7 @@ export const Button: React.FC = ({ className="tooltip" id={tooltipIdPrefixed} effect="solid" + uuid="buttonTooltip" // see https://github.com/ReactTooltip/react-tooltip/issues/587#issuecomment-619675399 /> )} From 9c45e122a96b9fe9de849bba60ce0480c4c7c0cd Mon Sep 17 00:00:00 2001 From: Matthieu Auger Date: Wed, 28 Feb 2024 17:03:05 +0100 Subject: [PATCH 2/2] :bug: fix Prop id did not match --- components/Editor/Header.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Editor/Header.tsx b/components/Editor/Header.tsx index 5def234..7cd099e 100644 --- a/components/Editor/Header.tsx +++ b/components/Editor/Header.tsx @@ -37,6 +37,7 @@ const EditorHeader = ({ codeType, onCodeTypeChange }: Props) => { isSearchable={false} classNamePrefix="select" menuPlacement="auto" + instanceId="headerSelect" />