Skip to content

Commit

Permalink
fix: deprecated label check
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Aug 30, 2024
1 parent 7baa96d commit 243d57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class UICONS<Index extends UiconsIndex = UiconsIndex> {

this.#path = path.endsWith('/') ? path.slice(0, -1) : path
this.#label = label ?? this.#path
if (label) {
if (oldLabel) {
this.#warn(
'The label parameter is deprecated, use the options object instead'
)
Expand Down

0 comments on commit 243d57a

Please sign in to comment.