Optimize some components
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- Use binding of this over `document.querySelector` calls - Use else if over a chained else and if condition
This commit is contained in:
@@ -54,12 +54,10 @@
|
||||
</div>
|
||||
<p class="pagination__caption style-caps">See more photos</p>
|
||||
|
||||
{:else}
|
||||
{#if $currentLocation}
|
||||
{:else if $currentLocation}
|
||||
<div class="pagination__message">
|
||||
<h3>That's all folks!</h3>
|
||||
<p class="pagination__caption style-caps">Come back later to check out <br>new photos of {$currentLocation.name}</p>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user