account for null helpers

This commit is contained in:
Martin McKeaveney 2021-02-02 17:48:23 +00:00
parent e78b9c31c3
commit 170c1abaf7
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@
<div class="binding__description">
{@html helper.description || ''}
</div>
<pre>{helper.example}</pre>
<pre>{helper.example || ''}</pre>
</div>
{/each}
</div>

View File

@ -103,7 +103,7 @@
<div class="description">
{@html helper.description}
</div>
<pre>{helper.example}</pre>
<pre>{helper.example || ''}</pre>
</div>
</li>
{/each}