pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/

clean up some loose imports

Pas 9e555c99 a02ea7c6

+14 -15
+1 -1
src/components/media/MediaCard.tsx
··· 1 1 // I'm sorry this is so confusing 😭 2 2 3 3 import classNames from "classnames"; 4 - import { useCallback, useEffect, useRef, useState } from "react"; 4 + import { useCallback, useRef, useState } from "react"; 5 5 import { useTranslation } from "react-i18next"; 6 6 import { Link } from "react-router-dom"; 7 7 import { useCopyToClipboard } from "react-use";
-1
src/components/player/atoms/settings/SourceSelectingView.tsx
··· 2 2 import { useTranslation } from "react-i18next"; 3 3 4 4 import { getCachedMetadata } from "@/backend/helpers/providerApi"; 5 - import { Button } from "@/components/buttons/Button"; 6 5 import { Loading } from "@/components/layout/Loading"; 7 6 import { 8 7 useEmbedScraping,
+12 -12
src/hooks/auth/useMigration.ts
··· 1 1 import { useCallback } from "react"; 2 2 3 - import { SessionResponse } from "@/backend/accounts/auth"; 3 + // import { SessionResponse } from "@/backend/accounts/auth"; 4 4 import { bookmarkMediaToInput } from "@/backend/accounts/bookmarks"; 5 5 import { 6 6 base64ToBuffer, 7 7 bytesToBase64, 8 8 bytesToBase64Url, 9 9 encryptData, 10 - keysFromMnemonic, 10 + // keysFromMnemonic, 11 11 keysFromSeed, 12 12 signChallenge, 13 13 } from "@/backend/accounts/crypto"; 14 14 import { importBookmarks, importProgress } from "@/backend/accounts/import"; 15 - import { getLoginChallengeToken, loginAccount } from "@/backend/accounts/login"; 15 + // import { getLoginChallengeToken, loginAccount } from "@/backend/accounts/login"; 16 16 import { progressMediaItemToInputs } from "@/backend/accounts/progress"; 17 17 import { 18 18 getRegisterChallengeToken, 19 19 registerAccount, 20 20 } from "@/backend/accounts/register"; 21 - import { removeSession } from "@/backend/accounts/sessions"; 22 - import { getSettings } from "@/backend/accounts/settings"; 23 - import { 24 - UserResponse, 25 - getBookmarks, 26 - getProgress, 27 - getUser, 28 - } from "@/backend/accounts/user"; 21 + // import { removeSession } from "@/backend/accounts/sessions"; 22 + // import { getSettings } from "@/backend/accounts/settings"; 23 + // import { 24 + // UserResponse, 25 + // getBookmarks, 26 + // getProgress, 27 + // getUser, 28 + // } from "@/backend/accounts/user"; 29 29 import { useAuthData } from "@/hooks/auth/useAuthData"; 30 - import { useBackendUrl } from "@/hooks/auth/useBackendUrl"; 30 + // import { useBackendUrl } from "@/hooks/auth/useBackendUrl"; 31 31 import { AccountWithToken, useAuthStore } from "@/stores/auth"; 32 32 import { BookmarkMediaItem, useBookmarkStore } from "@/stores/bookmarks"; 33 33 import { ProgressMediaItem, useProgressStore } from "@/stores/progress";
+1 -1
src/pages/errors/MaintenancePage.tsx
··· 1 1 import { Helmet } from "react-helmet-async"; 2 - import { Trans, useTranslation } from "react-i18next"; 2 + import { useTranslation } from "react-i18next"; 3 3 4 4 import { Button } from "@/components/buttons/Button"; 5 5 import { Icons } from "@/components/Icon";