eslint: sort imports & exports
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
import { MetadataCache } from "@snort/system";
|
||||
import { FormattedMessage } from "react-intl";
|
||||
import { Link } from "react-router-dom";
|
||||
import { BaseUITask } from "@/Components/Tasks/index";
|
||||
import { MetadataCache } from "@snort/system";
|
||||
import { LoginSession } from "@/Utils/Login";
|
||||
|
||||
import Icon from "@/Components/Icons/Icon";
|
||||
import { BaseUITask } from "@/Components/Tasks/index";
|
||||
import { LoginSession } from "@/Utils/Login";
|
||||
|
||||
export class BackupKeyTask extends BaseUITask {
|
||||
id = "backup-key";
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { FormattedMessage } from "react-intl";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import { BaseUITask } from "@/Components/Tasks/index";
|
||||
|
||||
export class DonateTask extends BaseUITask {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { MetadataCache } from "@snort/system";
|
||||
import { FormattedMessage } from "react-intl";
|
||||
import { Link } from "react-router-dom";
|
||||
import { MetadataCache } from "@snort/system";
|
||||
|
||||
import { BaseUITask } from "@/Components/Tasks/index";
|
||||
|
||||
export class Nip5Task extends BaseUITask {
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { FormattedMessage, FormattedNumber } from "react-intl";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import { BaseUITask } from "@/Components/Tasks/index";
|
||||
|
||||
export class NoticeZapPoolDefault extends BaseUITask {
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { FormattedMessage } from "react-intl";
|
||||
import { MetadataCache } from "@snort/system";
|
||||
import { FormattedMessage } from "react-intl";
|
||||
|
||||
import { BaseUITask } from "@/Components/Tasks/index";
|
||||
import { RenewSub } from "@/Pages/subscribe/RenewSub";
|
||||
import { LoginSession } from "@/Utils/Login";
|
||||
import { getCurrentSubscription } from "@/Utils/Subscription";
|
||||
import { RenewSub } from "@/Pages/subscribe/RenewSub";
|
||||
|
||||
export class RenewSubTask extends BaseUITask {
|
||||
id = "renew-sub";
|
||||
|
@ -1,17 +1,19 @@
|
||||
import "./TaskList.css";
|
||||
import { Fragment, useSyncExternalStore } from "react";
|
||||
import { useUserProfile } from "@snort/system-react";
|
||||
|
||||
import useLogin from "@/Hooks/useLogin";
|
||||
import { ExternalStore } from "@snort/shared";
|
||||
import { useUserProfile } from "@snort/system-react";
|
||||
import { Fragment, useSyncExternalStore } from "react";
|
||||
|
||||
import CloseButton from "@/Components/Button/CloseButton";
|
||||
import Icon from "@/Components/Icons/Icon";
|
||||
import { UITask } from "@/Components/Tasks/index";
|
||||
import useLogin from "@/Hooks/useLogin";
|
||||
|
||||
import { BackupKeyTask } from "./BackupKey";
|
||||
import { DonateTask } from "./DonateTask";
|
||||
import { Nip5Task } from "./Nip5Task";
|
||||
import { RenewSubTask } from "./RenewSubscription";
|
||||
import { NoticeZapPoolDefault } from "./NoticeZapPool";
|
||||
import { BackupKeyTask } from "./BackupKey";
|
||||
import { ExternalStore } from "@snort/shared";
|
||||
import CloseButton from "@/Components/Button/CloseButton";
|
||||
import { RenewSubTask } from "./RenewSubscription";
|
||||
|
||||
class TaskStore extends ExternalStore<Array<UITask>> {
|
||||
#tasks: Array<UITask>;
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { MetadataCache } from "@snort/system";
|
||||
|
||||
import { LoginSession } from "@/Utils/Login";
|
||||
|
||||
export interface UITask {
|
||||
|
Reference in New Issue
Block a user