Remove unused param

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-06-17 15:18:05 +05:30
parent a765d7fc7d
commit abd2c19bf2

View File

@ -3,7 +3,7 @@ import {RoomDetailsView} from "./RoomDetailsView.js";
import {MemberListView} from "./MemberListView.js"; import {MemberListView} from "./MemberListView.js";
export class RightPanelView extends TemplateView { export class RightPanelView extends TemplateView {
render(t, vm) { render(t) {
return t.div({className: "RightPanelView"}, return t.div({className: "RightPanelView"},
[ [
t.mapView(vm => vm.roomDetailsViewModel, roomDetailsViewModel => roomDetailsViewModel ? new RoomDetailsView(roomDetailsViewModel) : null), t.mapView(vm => vm.roomDetailsViewModel, roomDetailsViewModel => roomDetailsViewModel ? new RoomDetailsView(roomDetailsViewModel) : null),