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; } /**