mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 06:29:02 +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 {
|
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: '',
|
|
||||||
};
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user