Remove unused code and refactor types importing

This commit is contained in:
2022-06-21 20:03:26 +02:00
parent 23b0035272
commit f0173bb828
15 changed files with 17 additions and 31 deletions

View File

@@ -1,8 +1,7 @@
<script lang="ts">
import { onMount } from 'svelte'
import { writable } from 'svelte/store'
import EmblaCarousel from 'embla-carousel'
import type { EmblaCarouselType } from 'embla-carousel'
import EmblaCarousel, { type EmblaCarouselType } from 'embla-carousel'
// Components
import Image from '$components/atoms/Image.svelte'

View File

@@ -1,7 +1,6 @@
<script lang="ts">
import { getContext, onMount } from 'svelte'
import EmblaCarousel from 'embla-carousel'
import type { EmblaCarouselType } from 'embla-carousel'
import EmblaCarousel, { type EmblaCarouselType } from 'embla-carousel'
// Components
import Poster from '$components/molecules/Poster.svelte'
import EmailForm from '$components/molecules/EmailForm.svelte'

View File

@@ -1,7 +1,6 @@
<script lang="ts">
import { getContext, onMount } from 'svelte'
import anime from 'animejs'
import type { AnimeTimelineInstance } from 'animejs'
import anime, { type AnimeTimelineInstance } from 'animejs'
import { cartOpen } from '$utils/stores/shop'
// Components
import Image from '$components/atoms/Image.svelte'