Skip to content

Commit c88ec1d

Browse files
committed
Remove older comments
1 parent 3a9e824 commit c88ec1d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/TodoItem.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
import { createEventDispatcher } from 'svelte'
33
import { tweened } from 'svelte/motion';
44
import { cubicOut } from 'svelte/easing';
5-
import { fade } from 'svelte/transition';
6-
// import custom transition
7-
import { custom } from './transition'
5+
import { fly, fade } from 'svelte/transition';
86
import { interpolateLab } from 'd3-interpolate';
97
108
const dispatch = createEventDispatcher()
@@ -33,9 +31,8 @@
3331
}
3432
</script>
3533

36-
<!-- apply custom -->
3734
<div
38-
in:custom="{{ duration: 3000 }}"
35+
in:fly="{{ y: 200, duration: 500 }}"
3936
out:fade
4037
class="main-container"
4138
>

0 commit comments

Comments
 (0)