X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fjs%2Fapp.js;h=c2de14124e8f402b21889e4e2f05709d21007582;hb=0458d8184dbcdd1ef2b158324d4ab226e02d45be;hp=47b77032002b0fb66f064bb26f3502ae191c4bcf;hpb=78ee3a45427e1227013773b2a1c19fc1ee0efc12;p=alttp.git
diff --git a/resources/js/app.js b/resources/js/app.js
index 47b7703..c2de141 100644
--- a/resources/js/app.js
+++ b/resources/js/app.js
@@ -18,6 +18,13 @@ toastr.options.positionClass = 'toast-bottom-right';
* or customize the JavaScript scaffolding to fit your unique needs.
*/
-import App from './components/App';
+import AosApp from './components/aos/App';
+import App from './components/app';
-ReactDOM.render(, document.getElementById('react-root'));
+if (document.getElementById('aos-root')) {
+ ReactDOM.render(, document.getElementById('aos-root'));
+}
+
+if (document.getElementById('react-root')) {
+ ReactDOM.render(, document.getElementById('react-root'));
+}