diff options
| author | Fuwn <[email protected]> | 2023-12-24 03:00:38 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-24 03:00:38 -0800 |
| commit | b72dd26838799208f4a69d858f14ce71e38091e6 (patch) | |
| tree | ca94d931078a3185035766800da845b36579d9f7 /src/lib/Tools | |
| parent | refactor(database): move badges into module (diff) | |
| download | due.moe-b72dd26838799208f4a69d858f14ce71e38091e6.tar.xz due.moe-b72dd26838799208f4a69d858f14ce71e38091e6.zip | |
style(src): remove .js extension from imports
Diffstat (limited to 'src/lib/Tools')
| -rw-r--r-- | src/lib/Tools/ActivityHistory.svelte | 6 | ||||
| -rw-r--r-- | src/lib/Tools/ActivityHistoryGrid.svelte | 6 | ||||
| -rw-r--r-- | src/lib/Tools/Wrapped.svelte | 18 |
3 files changed, 15 insertions, 15 deletions
diff --git a/src/lib/Tools/ActivityHistory.svelte b/src/lib/Tools/ActivityHistory.svelte index 4160bd3a..903e2924 100644 --- a/src/lib/Tools/ActivityHistory.svelte +++ b/src/lib/Tools/ActivityHistory.svelte @@ -3,14 +3,14 @@ activityHistory, fillMissingDays, type ActivityHistoryEntry - } from '$lib/AniList/activity.js'; + } from '$lib/AniList/activity'; import { onMount } from 'svelte'; - import userIdentity from '../../stores/userIdentity.js'; + import userIdentity from '../../stores/userIdentity'; import { userIdentity as getUserIdentity, type AniListAuthorisation } from '$lib/AniList/identity'; - import { clearAllParameters } from './tool.js'; + import { clearAllParameters } from './tool'; import { domToBlob } from 'modern-screenshot'; import ActivityHistoryGrid from './ActivityHistoryGrid.svelte'; diff --git a/src/lib/Tools/ActivityHistoryGrid.svelte b/src/lib/Tools/ActivityHistoryGrid.svelte index e2117595..6e9f9e53 100644 --- a/src/lib/Tools/ActivityHistoryGrid.svelte +++ b/src/lib/Tools/ActivityHistoryGrid.svelte @@ -3,14 +3,14 @@ fillMissingDays, type ActivityHistoryEntry, activityHistory - } from '$lib/AniList/activity.js'; + } from '$lib/AniList/activity'; import { onMount } from 'svelte'; - import userIdentity from '../../stores/userIdentity.js'; + import userIdentity from '../../stores/userIdentity'; import { userIdentity as getUserIdentity, type AniListAuthorisation } from '$lib/AniList/identity'; - import { clearAllParameters } from './tool.js'; + import { clearAllParameters } from './tool'; export let user: AniListAuthorisation; export let activityData: ActivityHistoryEntry[] | null = null; diff --git a/src/lib/Tools/Wrapped.svelte b/src/lib/Tools/Wrapped.svelte index 2bbfdce9..8de9a8a1 100644 --- a/src/lib/Tools/Wrapped.svelte +++ b/src/lib/Tools/Wrapped.svelte @@ -1,29 +1,29 @@ <script lang="ts"> - import userIdentity from '../../stores/userIdentity.js'; + import userIdentity from '../../stores/userIdentity'; import { userIdentity as getUserIdentity, type AniListAuthorisation } from '$lib/AniList/identity'; import { onMount } from 'svelte'; - import { tops, wrapped, type TopMedia } from '$lib/AniList/wrapped.js'; + import { tops, wrapped, type TopMedia } from '$lib/AniList/wrapped'; import { fullActivityHistory, activityHistory as getActivityHistory - } from '$lib/AniList/activity.js'; - import { Type, mediaListCollection, type Media } from '$lib/AniList/media.js'; - import anime from '../../stores/anime.js'; - import lastPruneTimes from '../../stores/lastPruneTimes.js'; - import manga from '../../stores/manga.js'; + } from '$lib/AniList/activity'; + import { Type, mediaListCollection, type Media } from '$lib/AniList/media'; + import anime from '../../stores/anime'; + import lastPruneTimes from '../../stores/lastPruneTimes'; + import manga from '../../stores/manga'; import Error from '$lib/Error.svelte'; import { domToBlob } from 'modern-screenshot'; import { browser } from '$app/environment'; import { page } from '$app/stores'; - import { clearAllParameters, nbsp } from './tool.js'; + import { clearAllParameters, nbsp } from './tool'; import { env } from '$env/dynamic/public'; import { estimatedDayReading } from '$lib/Media/Manga/time'; import ActivityHistoryGrid from './ActivityHistoryGrid.svelte'; import SettingHint from '$lib/Settings/SettingHint.svelte'; - import { database } from '$lib/Database/activities.js'; + import { database } from '$lib/Database/activities'; export let user: AniListAuthorisation; |