: ""}
, $(this).get(0));
+ let props = $(this).data();
+ delete(props.dashboard);
+ window.ReactDOM.render(, $(this).get(0));
});
-
// Warn users if there's any sort of work in progress before
// they press the back button on the browser
// Yes it's a hack. No we're not going to track state in React just
diff --git a/app/static/app/js/tests/Dashboard.test.jsx b/app/static/app/js/tests/Dashboard.test.jsx
index 358d6f569..1eea8715b 100644
--- a/app/static/app/js/tests/Dashboard.test.jsx
+++ b/app/static/app/js/tests/Dashboard.test.jsx
@@ -4,7 +4,7 @@ import Dashboard from '../Dashboard';
describe('', () => {
it('renders without exploding', () => {
- const wrapper = shallow();
+ const wrapper = shallow();
expect(wrapper.exists()).toBe(true);
})
});
\ No newline at end of file
diff --git a/app/templates/app/dashboard.html b/app/templates/app/dashboard.html
index 106998b35..fb162dd3e 100644
--- a/app/templates/app/dashboard.html
+++ b/app/templates/app/dashboard.html
@@ -43,7 +43,11 @@