Chore: spelling - misc (#24438)

* Chore: spelling - misc

* fix master merge
This commit is contained in:
Josh Soref
2020-06-04 00:51:30 -04:00
committed by GitHub
parent cb2d1b5f93
commit ed92b41d47
24 changed files with 29 additions and 29 deletions

View File

@ -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;

View File

@ -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> {

View File

@ -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>