From d9a542ccfa88358ed4f0c0f93781c23e847157d8 Mon Sep 17 00:00:00 2001 From: ochairo <19258508+ochairo@users.noreply.github.com> Date: Sun, 31 Mar 2024 01:12:37 +0900 Subject: [PATCH] refactor: showcase component --- .../features/showcase/presentation/showcase.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/features/showcase/presentation/showcase.component.ts b/src/app/features/showcase/presentation/showcase.component.ts index 8c77700..b489c0f 100644 --- a/src/app/features/showcase/presentation/showcase.component.ts +++ b/src/app/features/showcase/presentation/showcase.component.ts @@ -10,14 +10,14 @@ import html from "@showcase/presentation/showcase.component.html"; * [ShowcaseComponent] Component to display UI samples */ class ShowcaseComponent extends BaseComponent { - private _getShowcase: GetShowcase | null; + private _getShowcase: GetShowcase; private _apiData: ShowcaseData[] = []; router = Router.getInstance(); - constructor(getShowcase?: GetShowcase) { + constructor(getShowcase: GetShowcase) { super(); this._dom.innerHTML = `${html}`; - this._getShowcase = getShowcase || null; + this._getShowcase = getShowcase; } /**