account for null helpers

This commit is contained in:
Martin McKeaveney 2021-02-02 17:48:23 +00:00
parent 4bb3f6fe5f
commit 594906d975
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}