Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MRita443 committed Sep 13, 2024
1 parent 04cd52d commit 78158c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/routes/(app)/+error.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
import ErrorSection from './_components/error/error-section.svelte';
import { page } from '$app/stores';
import Button from '$lib/components/button.svelte';
import ErrorSection from './_components/error/error-section.svelte';
</script>

<main class="mx-10 my-20 flex flex-col justify-center gap-20 font-source_code">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/events/[slug]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
import * as Tabs from '$lib/components/ui/tabs/index';
import Carousel from './_components/carousel.svelte';
import EventHeader from './_components/event-header.svelte';
import * as Tabs from '$lib/components/ui/tabs/index';
export let data;
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/events/[slug]/_components/carousel.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script lang="ts">
import * as Card from '$lib/components/ui/card/index.js';
import type { CarouselAPI } from '$lib/components/ui/carousel/context.js';
import * as Carousel from '$lib/components/ui/carousel/index.js';
Expand All @@ -21,6 +20,7 @@
<Carousel.Root bind:api class="mx-auto max-w-[80%] lg:max-w-full">
<Carousel.Content>
{#each Array(5) as _, i (i)}

Check failure on line 22 in src/routes/(app)/events/[slug]/_components/carousel.svelte

View workflow job for this annotation

GitHub Actions / Lint (21.x)

'_' is defined but never used
<!-- eslint-disable-line @typescript-eslint/no-unused-vars -->
<Carousel.Item>
<img
class="max-h-[30vh] w-full rounded-3xl object-cover object-center"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="ts">
import { format } from 'date-fns';
import { pt } from 'date-fns/locale';
import Icon from '@/lib/components/icons/icon.svelte';
import Icons from '@/lib/components/icons/icons';
import type { Event } from '@/types/event';
import { format } from 'date-fns';
import { pt } from 'date-fns/locale';
import { Button } from '$lib/components/ui/button/index.js';
Expand Down

0 comments on commit 78158c5

Please sign in to comment.