File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1111 import type { Snippet } from " svelte" ;
1212 import { fetchBuildsOrError , type ProjectBuildsOrError } from " @/utils/download" ;
1313 import { watch } from " runed" ;
14+ import { fade } from " svelte/transition" ;
1415
1516 interface Props {
1617 id: " paper" | " velocity" | " folia" | " waterfall" | (string & {});
149150 </p >
150151
151152 {#if buildsLoading }
152- <div class =" text-center text-sm text-gray-400" >Loading builds…</div >
153+ <div transition:fade class =" text-center text-sm text-gray-400" >Loading builds…</div >
153154 {:else if builds .error }
154- <div class ="text-center text-sm text-red-500" >{builds .error }</div >
155+ <div transition:fade class ="text-center text-sm text-red-500" >{builds .error }</div >
155156 {:else if builds .value && builds .value .builds && builds .value .builds .length > 0 }
156- <SoftwareBuilds project ={id } {version } builds ={builds .value .builds } eol ={!! eol } />
157+ <div transition:fade >
158+ <SoftwareBuilds project ={id } {version } builds ={builds .value .builds } eol ={!! eol } />
159+ </div >
157160 {/if }
158161 </section >
159162
You can’t perform that action at this time.
0 commit comments