Skip to content

Commit

Permalink
Reorder imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyfallWasTaken committed Sep 25, 2024
1 parent 90eee13 commit 61a2528
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/components/mailbox/Email.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="ts">
import type { Email } from '$lib/email';
import { AccordionItem } from '@skeletonlabs/skeleton';
import PostalMime from 'postal-mime';
import { type Email as PostalEmail } from 'postal-mime';
import { AccordionItem } from '@skeletonlabs/skeleton';
import { onMount } from 'svelte';
import PostalMime from 'postal-mime';
export let email: Email;
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script lang="ts">
import type { Email } from '$lib/email';
import Mailbox from '$lib/components/mailbox/Mailbox.svelte';
import CopyIcon from 'lucide-svelte/icons/copy';
import CopyCheckIcon from 'lucide-svelte/icons/copy-check';
import { username, emailDomain as emailDomainStore, emailDomains } from '$lib/mailbox';
import { createQuery } from '@tanstack/svelte-query';
import { debounce } from '$lib/util';
import type { Email } from '$lib/email';
import { derived } from 'svelte/store';
function refreshPage() {
Expand Down Expand Up @@ -37,7 +37,6 @@
throw new Error('Failed to fetch emails');
}
const json: Email[] = await response.json();
console.log(json);
return json;
},
refetchInterval: 10000
Expand Down

0 comments on commit 61a2528

Please sign in to comment.