Skip to content

Commit 14903ce

Browse files
committed
Actually pass an age through
1 parent 2f30448 commit 14903ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/welcome/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<%= javascript_pack_tag 'application' %>
22
<%= react_component 'Post', { title: 'A working react component', body: 'Simple but effective' }, prerender: true %>
3-
<%= react_component 'User', { name: 'Timmy', body: 26 }, prerender: true %>
3+
<%= react_component 'User', { name: 'Timmy', age: 26 }, prerender: true %>

0 commit comments

Comments
 (0)