Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private render() {
switch (this.lastPaneRouteData.location) {
case ViewType.Home:
return this.ciceroRendererService.renderHome(this.lastPaneRouteData);
case ViewType.Object:
return this.ciceroRendererService.renderObject(this.lastPaneRouteData);
case ViewType.List:
return this.ciceroRendererService.renderList(this.lastPaneRouteData);
default:
return this.ciceroRendererService.renderError('unknown render error');
}
}