NOTICKET: Merging OSM/master to OSM/projects
[osm/UI.git] / skyquake / plugins / composer / src / src / components / DetailsPanel.js
index 2e12052..e13282e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
 
 /*
- * 
+ *
  *   Copyright 2016 RIFT.IO Inc
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
  *   Copyright 2016 RIFT.IO Inc
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
@@ -50,6 +50,10 @@ const DetailsPanel = React.createClass({
        },
        componentWillUnmount() {
        },
        },
        componentWillUnmount() {
        },
+       contextTypes: {
+           router: React.PropTypes.object,
+           userProfile: React.PropTypes.object
+       },
        render() {
                let json = '{}';
                let bodyComponent =  messages.detailsWelcome();
        render() {
                let json = '{}';
                let bodyComponent =  messages.detailsWelcome();