diff --git a/components/atoms/Fab/fab.tsx b/components/atoms/Fab/fab.tsx index 1d88806198..69887608d4 100644 --- a/components/atoms/Fab/fab.tsx +++ b/components/atoms/Fab/fab.tsx @@ -5,7 +5,7 @@ interface FabProps extends React.HTMLAttributes { position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; onClick?: () => void; } -const Fab = ({ position, children, className }: FabProps) => { +const Fab = ({ position, children, className, onClick }: FabProps) => { const getFabPositionStyles = () => { switch (position) { case "top-left": @@ -21,7 +21,7 @@ const Fab = ({ position, children, className }: FabProps) => { } }; return ( - ); diff --git a/components/molecules/HighlightInput/highlight-input-form.tsx b/components/molecules/HighlightInput/highlight-input-form.tsx index b8698cd696..bd42d05174 100644 --- a/components/molecules/HighlightInput/highlight-input-form.tsx +++ b/components/molecules/HighlightInput/highlight-input-form.tsx @@ -754,14 +754,13 @@ const HighlightInputForm = ({ refreshCallback }: HighlightInputFormProps): JSX.E }`} /> )} -

{ - window.open(suggestion.url, "_blank"); - }} + {suggestion.title} -

+