diff --git a/package.json b/package.json index aba60e54..526f03c4 100644 --- a/package.json +++ b/package.json @@ -123,4 +123,4 @@ "prettier --write" ] } -} \ No newline at end of file +} diff --git a/src/components/DefinitionList/components/Term.tsx b/src/components/DefinitionList/components/Term.tsx index 11bbe78b..b1dcd900 100644 --- a/src/components/DefinitionList/components/Term.tsx +++ b/src/components/DefinitionList/components/Term.tsx @@ -28,15 +28,17 @@ function NoteElement({note}: NoteElementsProps) { } if (typeof note === 'object') { + const {buttonProps, ...rest} = note; + return ( ); }