wip
This commit is contained in:
16
apps/website/lib/presenters/ProfileOverviewPresenter.ts
Normal file
16
apps/website/lib/presenters/ProfileOverviewPresenter.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import type {
|
||||
IProfileOverviewPresenter,
|
||||
ProfileOverviewViewModel,
|
||||
} from '@gridpilot/racing/application/presenters/IProfileOverviewPresenter';
|
||||
|
||||
export class ProfileOverviewPresenter implements IProfileOverviewPresenter {
|
||||
private viewModel: ProfileOverviewViewModel | null = null;
|
||||
|
||||
present(viewModel: ProfileOverviewViewModel): void {
|
||||
this.viewModel = viewModel;
|
||||
}
|
||||
|
||||
getViewModel(): ProfileOverviewViewModel | null {
|
||||
return this.viewModel;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user