Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Prudhomme <[email protected]>
  • Loading branch information
louis-bompart and alexprudhomme authored Aug 19, 2024
1 parent 6127cf9 commit 16fa592
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export class AtomicSearchBox implements InitializableComponent<Bindings> {
}

public initialize() {
this.id ??= randomID('atomic-commerce-search-box-');
this.id ??= randomID('atomic-search-box-');

this.initializeSearchboxController();
this.initializeSuggestionManager();
Expand Down Expand Up @@ -305,7 +305,7 @@ export class AtomicSearchBox implements InitializableComponent<Bindings> {
}
}

public disconnectedCallback: () => void = () => {};
public disconnectedCallback = () => {};

@Listen('atomic/searchBoxSuggestion/register')
public registerSuggestions(
Expand Down

0 comments on commit 16fa592

Please sign in to comment.