Created
January 9, 2019 21:41
-
-
Save hoorayimhelping/b51a0d613aed24e11542c7c86399af2c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/broker/templates/broker/activity_feed.html b/broker/templates/broker/activity_feed.html | |
index d27bfd402..8ad1117eb 100644 | |
--- a/broker/templates/broker/activity_feed.html | |
+++ b/broker/templates/broker/activity_feed.html | |
@@ -1,7 +1,5 @@ | |
{% extends 'internal.html' %} | |
{% load render_bundle from webpack_loader %} | |
-{% load socialaccount %} | |
-{% load staticfiles %} | |
{% block head_title %}Activity{% endblock head_title %} | |
@@ -10,7 +8,7 @@ | |
{% endblock %} | |
{% block content %} | |
- <div id="activity-feed"></div> | |
+ <div id="js-activity-feed"></div> | |
{% endblock content %} | |
{% block compressed_js %} | |
diff --git a/static/jsx/activity_feed.jsx b/static/jsx/activity_feed.jsx | |
index 60f0f4237..249199271 100644 | |
--- a/static/jsx/activity_feed.jsx | |
+++ b/static/jsx/activity_feed.jsx | |
@@ -5,7 +5,7 @@ import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import BrokerSearchErrorScreen from 'jsx/components/BrokerSearchErrorScreen'; | |
-import Home from 'jsx/activity/components/Home.jsx'; | |
+import Home from 'jsx/broker/components/ActivityFeed.jsx'; | |
const bugsnagClient = bugsnag({ | |
@@ -18,7 +18,7 @@ const BugsnagErrorBoundary = bugsnagClient.getPlugin('react'); | |
ReactDOM.render( | |
<BugsnagErrorBoundary FallbackComponent={BrokerSearchErrorScreen}> | |
- <Home /> | |
+ <ActivityFeed /> | |
</BugsnagErrorBoundary>, | |
- document.getElementById('activity-feed'), | |
+ document.getElementById('js-activity-feed'), | |
); | |
diff --git a/static/jsx/activity/components/Home.jsx b/static/jsx/broker/components/ActivityFeed.jsx | |
similarity index 100% | |
rename from static/jsx/activity/components/Home.jsx | |
rename to static/jsx/broker/components/ActivityFeed.jsx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment