1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

fix issues from eslint plugin prettier

This commit is contained in:
Martin McKeaveney 2020-10-13 16:33:45 +01:00
parent 2b3b41e778
commit 14af18d27b
5 changed files with 9 additions and 9 deletions

View file

@ -73,7 +73,7 @@
<Label extraSmall grey>Current Users</Label>
{#await fetchUsersPromise}
Loading...
{:then [object Object]}
{:then users}
<ul>
{#each users as user}
<li>
@ -83,7 +83,7 @@
<li>No Users found</li>
{/each}
</ul>
{:catch [object Object]}
{:catch error}
Something went wrong when trying to fetch users. Please refresh (CMD + R /
CTRL + R) the page and try again.
{/await}

View file

@ -24,7 +24,7 @@
<div class="spinner-container">
<Spinner size="30" />
</div>
{:then [object Object]}
{:then apps}
<div class="inner">
<div>
<div>
@ -36,7 +36,7 @@
</div>
</div>
</div>
{:catch [object Object]}
{:catch err}
<h1 style="color:red">{err}</h1>
{/await}
</div>

View file

@ -20,7 +20,7 @@
<div class="spinner-container">
<Spinner size="30" />
</div>
{:then [object Object]}
{:then templates}
<div class="templates">
{#each templates as template}
<div class="templates-card">
@ -39,7 +39,7 @@
</div>
{/each}
</div>
{:catch [object Object]}
{:catch err}
<h1 style="color:red">{err}</h1>
{/await}
</div>

View file

@ -77,9 +77,9 @@
{#await promise}
<!-- This should probably be some kind of loading state? -->
<div />
{:then [object Object]}
{:then result}
<slot />
{:catch [object Object]}
{:catch error}
<p>Something went wrong: {error.message}</p>
{/await}
</div>

View file

@ -35,7 +35,7 @@
{#await _appPromise}
loading
{:then [object Object]}
{:then _bb}
<div id="current_component" bind:this={currentComponent} />
{/await}