From 16fa592b7b3a1392422381b92f5ce047af563749 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Mon, 19 Aug 2024 17:41:54 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alex Prudhomme <78121423+alexprudhomme@users.noreply.github.com> --- .../components/search/atomic-search-box/atomic-search-box.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/atomic/src/components/search/atomic-search-box/atomic-search-box.tsx b/packages/atomic/src/components/search/atomic-search-box/atomic-search-box.tsx index 7e147e44ce6..f30cc025266 100644 --- a/packages/atomic/src/components/search/atomic-search-box/atomic-search-box.tsx +++ b/packages/atomic/src/components/search/atomic-search-box/atomic-search-box.tsx @@ -244,7 +244,7 @@ export class AtomicSearchBox implements InitializableComponent { } public initialize() { - this.id ??= randomID('atomic-commerce-search-box-'); + this.id ??= randomID('atomic-search-box-'); this.initializeSearchboxController(); this.initializeSuggestionManager(); @@ -305,7 +305,7 @@ export class AtomicSearchBox implements InitializableComponent { } } - public disconnectedCallback: () => void = () => {}; + public disconnectedCallback = () => {}; @Listen('atomic/searchBoxSuggestion/register') public registerSuggestions(