mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 06:23:08 +08:00
Chore: spelling - misc (#24438)
* Chore: spelling - misc * fix master merge
This commit is contained in:
@ -284,7 +284,7 @@ it('getTraceName() should return the trace name based on the parentSpan', () =>
|
||||
expect(traceSelectors.getTraceName(generatedTrace)).toBe(`${serviceName}: ${operationName}`);
|
||||
});
|
||||
|
||||
it('omitCollapsedSpans() should filter out collaped spans', () => {
|
||||
it('omitCollapsedSpans() should filter out collapsed spans', () => {
|
||||
const span = generatedTrace.spans[1];
|
||||
const size = traceSelectors.getTraceSpanIdsAsTree(generatedTrace).find(span.spanID).size - 1;
|
||||
|
||||
|
@ -22,7 +22,7 @@ import './DividerDemo.css';
|
||||
|
||||
type DividerDemoProps = {
|
||||
position: number;
|
||||
updateState: (udpate: { dividerPosition: number }) => void;
|
||||
updateState: (update: { dividerPosition: number }) => void;
|
||||
};
|
||||
|
||||
export default class DividerDemo extends React.PureComponent<DividerDemoProps> {
|
||||
|
@ -38,7 +38,7 @@ export default class DraggableManagerDemo extends React.PureComponent<{}, Dragga
|
||||
};
|
||||
}
|
||||
|
||||
_udpateState = (nextState: {}) => {
|
||||
_updateState = (nextState: {}) => {
|
||||
this.setState(nextState);
|
||||
};
|
||||
|
||||
@ -52,7 +52,7 @@ export default class DraggableManagerDemo extends React.PureComponent<{}, Dragga
|
||||
<p>Click and drag the gray divider in the colored area, below.</p>
|
||||
<p>Value: {dividerPosition.toFixed(3)}</p>
|
||||
<div className="DraggableManagerDemo--realm">
|
||||
<DividerDemo position={dividerPosition} updateState={this._udpateState} />
|
||||
<DividerDemo position={dividerPosition} updateState={this._updateState} />
|
||||
</div>
|
||||
</section>
|
||||
<section className="DraggableManagerDemo--scenario">
|
||||
@ -60,7 +60,7 @@ export default class DraggableManagerDemo extends React.PureComponent<{}, Dragga
|
||||
<p>Click and drag horizontally somewhere in the colored area, below.</p>
|
||||
<p>Value: {regionDragging && regionDragging.map(n => n.toFixed(3)).join(', ')}</p>
|
||||
<div className="DraggableManagerDemo--realm">
|
||||
<RegionDemo regionCursor={regionCursor} regionDragging={regionDragging} updateState={this._udpateState} />
|
||||
<RegionDemo regionCursor={regionCursor} regionDragging={regionDragging} updateState={this._updateState} />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user