Skip to content

Commit 69bd3e1

Browse files
committed
Github Search now operable
1 parent 83dccde commit 69bd3e1

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

app/views/layouts/application.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
<body>
1010
<%= render 'layouts/header' %>
1111

12-
<div class= "container app"> </div>
12+
<div class= "container app" id="app"></div>
1313
<% if controller_name == 'sessions' %>
1414
<%= yield %>
1515
<% else %>
1616
<%= javascript_include_tag 'bundle', 'data-turbolinks-track' => true %>
1717
<% end %>
18+
1819
</body>
1920
</html>

client/src/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ ReactDOM.render(
1616
<Search />
1717
</App>
1818
</Provider>
19-
, document.querySelector('.app'));
19+
, document.querySelector('app'));
20+
21+
22+
23+
//document.querySelector('.app'));

0 commit comments

Comments
 (0)