fix: removed not required prop

This commit is contained in:
sawhil 2025-04-07 17:42:25 +05:30 committed by Sahil Khan
parent 0944af3d31
commit 9a580915e6

View File

@ -7,16 +7,14 @@ import { Span } from 'types/api/trace/getTraceV2';
export interface SpanLineActionButtonsProps { export interface SpanLineActionButtonsProps {
span: Span; span: Span;
customClassName?: string;
} }
export default function SpanLineActionButtons({ export default function SpanLineActionButtons({
span, span,
customClassName = '',
}: SpanLineActionButtonsProps): JSX.Element { }: SpanLineActionButtonsProps): JSX.Element {
const { onSpanCopy } = useCopySpanLink(span); const { onSpanCopy } = useCopySpanLink(span);
return ( return (
<div className={`span-line-action-buttons ${customClassName}`}> <div className="span-line-action-buttons">
<Tooltip title="Copy Span Link"> <Tooltip title="Copy Span Link">
<Button <Button
size="small" size="small"
@ -28,7 +26,3 @@ export default function SpanLineActionButtons({
</div> </div>
); );
} }
SpanLineActionButtons.defaultProps = {
customClassName: '',
};