From df3f24e050990b550e4653159a3aaca534b40e0d Mon Sep 17 00:00:00 2001 From: Ken Date: Tue, 4 Feb 2025 18:44:50 +0100 Subject: [PATCH] :bug: Boolean flipped so that legacy wrapper were used on wrong state --- @navikt/core/react/src/copybutton/CopyButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/@navikt/core/react/src/copybutton/CopyButton.tsx b/@navikt/core/react/src/copybutton/CopyButton.tsx index 735165c446..4725ee3466 100644 --- a/@navikt/core/react/src/copybutton/CopyButton.tsx +++ b/@navikt/core/react/src/copybutton/CopyButton.tsx @@ -122,7 +122,7 @@ export const CopyButton = forwardRef( const copyIcon = active ? activeIcon ?? ( - + ( ) : icon ?? ( - +