Skip to content

Commit e9625e0

Browse files
committed
😐 I should do a better job of proofreading things.
1 parent 1f325e9 commit e9625e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/opencomponents/rails/renderer.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Renderer
2020
#
2121
# Raises an error if the registry request times out and client failover is
2222
# disabled, otherwise will return an unrendered <oc-component> tag for
23-
# client-side rendered.
23+
# client-side rendering.
2424
def render_component(component, opts = {})
2525
super(component, opts).html_safe
2626
rescue OpenComponents::RegistryTimeout
@@ -42,7 +42,7 @@ def render_component(component, opts = {})
4242
# OC registry, component name, and params and version if they're available.
4343
#
4444
# oc_component_tag('my-component', params: {name: 'Zan'}, version: '1.0.2')
45-
# # => <oc-component href="http://localhost:3030/my-component/1.0.2?name=Zan">
45+
# # => <oc-component href="http://localhost:3030/my-component/1.0.2?name=Zan" />
4646
#
4747
# oc_component_tag('my-component', href: 'http://some.registry/my-component')
4848
# # => <oc-component href="http://some.registry/my-component" />

0 commit comments

Comments
 (0)