File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
import fragment from ' ../../stores/fragment'
3
3
import mountains , { Mountain , Route } from ' ../../stores/mountains'
4
4
import { allRoutes } from ' ../../utils/routes'
5
- import VirtualList from ' ../VirtualList.svelte'
6
5
import SortyBy from ' ../SortyBy.svelte'
7
6
import {
8
7
direction ,
23
22
import Grade from ' ./Grade.svelte'
24
23
import { parseGrade } from ' ../../utils/grade'
25
24
import { onMount } from ' svelte'
25
+ import BetterList from ' ../BetterList.svelte'
26
26
27
27
const viewMountain = (mountain : Mountain , route : Route ) => {
28
28
fragment .update ((value ) => ({
123
123
(showing {filteredRoutes .length } of {routes .length } routes)
124
124
</div >
125
125
<div class =" flex flex-col gap-2 -mx-4 -mb-4 min-h-0 flex-1" >
126
- <VirtualList items ={sorted } let:item bind:scrollPos ={$scrollPos }>
126
+ <BetterList items ={sorted } let:item bind:scrollPos ={$scrollPos }>
127
127
<div
128
128
class =" cursor-pointer px-4 py-1"
129
129
on:keyup ={(e ) => {
150
150
</div >
151
151
</Card >
152
152
</div >
153
- </VirtualList >
153
+ </BetterList >
154
154
</div >
155
155
</div >
156
156
You can’t perform that action at this time.
0 commit comments