eslint: sort imports & exports

This commit is contained in:
Martti Malmi
2024-01-04 19:01:18 +02:00
parent 046d4d97bd
commit 3fe3c7a98d
267 changed files with 1281 additions and 1037 deletions

View File

@ -2,9 +2,10 @@ import { NostrEvent, NostrLink } from "@snort/system";
import { FormattedMessage } from "react-intl";
import { Link } from "react-router-dom";
import { findTag } from "@/Utils";
import ProfileImage from "../User/ProfileImage";
import Icon from "@/Components/Icons/Icon";
import { findTag } from "@/Utils";
import ProfileImage from "../User/ProfileImage";
export function LiveEvent({ ev }: { ev: NostrEvent }) {
const title = findTag(ev, "title");

View File

@ -1,10 +1,12 @@
import "./LiveStreams.css";
import { NostrEvent, NostrLink } from "@snort/system";
import { findTag } from "@/Utils";
import { CSSProperties, useMemo } from "react";
import { Link } from "react-router-dom";
import useImgProxy from "@/Hooks/useImgProxy";
import Icon from "@/Components/Icons/Icon";
import useImgProxy from "@/Hooks/useImgProxy";
import { findTag } from "@/Utils";
export function LiveStreams({ evs }: { evs: Array<NostrEvent> }) {
const streams = useMemo(() => {