Skip to content

Commit

Permalink
fix(number-field): fixed code styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarun Tomar authored and Westbrook committed Jul 21, 2023
1 parent 9fc5f3e commit 118da9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/field-label/src/FieldLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export class FieldLabel extends SizedMixin(SpectrumElement) {
const applyLabel = this.target.applyFocusElementLabel;
const focusable = this.target.focusElement || this.target;
const targetParent = focusable.getRootNode() as HTMLElement;

if (typeof applyLabel !== 'undefined') {
applyLabel(this.labelText);
} else if (targetParent === (this.getRootNode() as HTMLElement)) {
Expand Down
4 changes: 0 additions & 4 deletions packages/number-field/src/NumberField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
import {
property,
query,
state,
} from '@spectrum-web-components/base/src/decorators.js';
import {
LanguageResolutionController,
Expand Down Expand Up @@ -101,9 +100,6 @@ export class NumberField extends TextfieldBase {
return [...super.styles, styles, chevronStyles];
}

@state()
override appliedLabel?: string;

@query('.buttons')
private buttons!: HTMLDivElement;

Expand Down

0 comments on commit 118da9c

Please sign in to comment.