mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 02:59:00 +08:00
fix: removed not required prop
This commit is contained in:
parent
0944af3d31
commit
9a580915e6
@ -7,16 +7,14 @@ import { Span } from 'types/api/trace/getTraceV2';
|
||||
|
||||
export interface SpanLineActionButtonsProps {
|
||||
span: Span;
|
||||
customClassName?: string;
|
||||
}
|
||||
export default function SpanLineActionButtons({
|
||||
span,
|
||||
customClassName = '',
|
||||
}: SpanLineActionButtonsProps): JSX.Element {
|
||||
const { onSpanCopy } = useCopySpanLink(span);
|
||||
|
||||
return (
|
||||
<div className={`span-line-action-buttons ${customClassName}`}>
|
||||
<div className="span-line-action-buttons">
|
||||
<Tooltip title="Copy Span Link">
|
||||
<Button
|
||||
size="small"
|
||||
@ -28,7 +26,3 @@ export default function SpanLineActionButtons({
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
SpanLineActionButtons.defaultProps = {
|
||||
customClassName: '',
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user