some cleanup
This commit is contained in:
@@ -20,7 +20,7 @@ RENDER(Request& context)
|
||||
</div>
|
||||
<pre class="code-block"><code>COMPONENT:HERO_SECTION(Request& context)
|
||||
{
|
||||
String title = first(context.call["title"].to_string(), "Welcome");
|
||||
String title = first(context.props["title"].to_string(), "Welcome");
|
||||
<>
|
||||
<div class="hero-section">...</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user