Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed May 28, 2024
1 parent 07d2144 commit f757d51
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/components/rating/rating.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { clamp } from '../../internal/math.js';
import { classMap } from 'lit/directives/class-map.js';
import { eventOptions, property, query, state } from 'lit/decorators.js';
import { html } from 'lit';
import { LocalizeController } from '../../utilities/localize.js';
import { styleMap } from 'lit/directives/style-map.js';
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
import { watch } from '../../internal/watch.js';
Expand Down Expand Up @@ -36,8 +35,6 @@ export default class SlRating extends ShoelaceElement {
static styles: CSSResultGroup = [componentStyles, styles];
static dependencies = { 'sl-icon': SlIcon };

private readonly localize = new LocalizeController(this);

@query('.rating') rating: HTMLElement;

@state() private hoverValue = 0;
Expand Down
2 changes: 0 additions & 2 deletions src/components/tree/tree.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { clamp } from '../../internal/math.js';
import { html } from 'lit';
import { LocalizeController } from '../../utilities/localize.js';
import { property, query } from 'lit/decorators.js';
import { watch } from '../../internal/watch.js';
import componentStyles from '../../styles/component.styles.js';
Expand Down Expand Up @@ -88,7 +87,6 @@ export default class SlTree extends ShoelaceElement {
// automatically updated when the underlying document is changed.
//
private lastFocusedItem: SlTreeItem | null;
private readonly localize = new LocalizeController(this);
private mutationObserver: MutationObserver;
private clickTarget: SlTreeItem | null = null;

Expand Down

0 comments on commit f757d51

Please sign in to comment.