Skip to content

Commit

Permalink
refactor: showcase component
Browse files Browse the repository at this point in the history
  • Loading branch information
ochairo committed Mar 30, 2024
1 parent b7c1803 commit d9a542c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/features/showcase/presentation/showcase.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = `<style>${style}</style>${html}`;
this._getShowcase = getShowcase || null;
this._getShowcase = getShowcase;
}

/**
Expand Down

0 comments on commit d9a542c

Please sign in to comment.