mirror of
https://github.com/Qortal/q-share.git
synced 2025-01-30 14:52:20 +00:00
Minor fixes to imports
This commit is contained in:
parent
9d483cf65d
commit
85da3cef4e
@ -7,18 +7,7 @@ import {
|
|||||||
NewCrowdfundTitle,
|
NewCrowdfundTitle,
|
||||||
StyledButton,
|
StyledButton,
|
||||||
} from "./Upload-styles";
|
} from "./Upload-styles";
|
||||||
import {
|
import { Box, Modal, Typography, useTheme } from "@mui/material";
|
||||||
Box,
|
|
||||||
FormControl,
|
|
||||||
InputLabel,
|
|
||||||
MenuItem,
|
|
||||||
Modal,
|
|
||||||
OutlinedInput,
|
|
||||||
Select,
|
|
||||||
SelectChangeEvent,
|
|
||||||
Typography,
|
|
||||||
useTheme,
|
|
||||||
} from "@mui/material";
|
|
||||||
import RemoveIcon from "@mui/icons-material/Remove";
|
import RemoveIcon from "@mui/icons-material/Remove";
|
||||||
import ShortUniqueId from "short-unique-id";
|
import ShortUniqueId from "short-unique-id";
|
||||||
import { useDispatch, useSelector } from "react-redux";
|
import { useDispatch, useSelector } from "react-redux";
|
||||||
@ -32,13 +21,7 @@ import { QSHARE_FILE_BASE } from "../../constants/Identifiers.ts";
|
|||||||
import { MultiplePublish } from "../common/MultiplePublish/MultiplePublishAll";
|
import { MultiplePublish } from "../common/MultiplePublish/MultiplePublishAll";
|
||||||
import { TextEditor } from "../common/TextEditor/TextEditor";
|
import { TextEditor } from "../common/TextEditor/TextEditor";
|
||||||
import { extractTextFromHTML } from "../common/TextEditor/utils";
|
import { extractTextFromHTML } from "../common/TextEditor/utils";
|
||||||
import {
|
import { allCategoryData } from "../../constants/Categories/1stCategories.ts";
|
||||||
firstCategories,
|
|
||||||
secondCategories,
|
|
||||||
thirdCategories,
|
|
||||||
fourthCategories,
|
|
||||||
allCategoryData,
|
|
||||||
} from "../../constants/Categories/1stCategories.ts";
|
|
||||||
import { titleFormatter } from "../../constants/Misc.ts";
|
import { titleFormatter } from "../../constants/Misc.ts";
|
||||||
import {
|
import {
|
||||||
CategoryList,
|
CategoryList,
|
||||||
|
@ -1,48 +1,27 @@
|
|||||||
import React, { useCallback, useEffect, useRef, useState } from "react";
|
import React, { useEffect, useRef, useState } from "react";
|
||||||
import { useNavigate, useParams } from "react-router-dom";
|
import { useNavigate, useParams } from "react-router-dom";
|
||||||
import { useSelector } from "react-redux";
|
import { useSelector } from "react-redux";
|
||||||
import { RootState } from "../../state/store";
|
import { RootState } from "../../state/store";
|
||||||
import AttachFileIcon from "@mui/icons-material/AttachFile";
|
import AttachFileIcon from "@mui/icons-material/AttachFile";
|
||||||
|
|
||||||
import {
|
import { Avatar, Box, Skeleton, useTheme } from "@mui/material";
|
||||||
Avatar,
|
|
||||||
Box,
|
|
||||||
Button,
|
|
||||||
Skeleton,
|
|
||||||
Typography,
|
|
||||||
useTheme,
|
|
||||||
} from "@mui/material";
|
|
||||||
import { useFetchFiles } from "../../hooks/useFetchFiles.tsx";
|
import { useFetchFiles } from "../../hooks/useFetchFiles.tsx";
|
||||||
import LazyLoad from "../../components/common/LazyLoad";
|
import LazyLoad from "../../components/common/LazyLoad";
|
||||||
import {
|
import {
|
||||||
BottomParent,
|
BottomParent,
|
||||||
|
FileContainer,
|
||||||
NameContainer,
|
NameContainer,
|
||||||
VideoCard,
|
VideoCard,
|
||||||
VideoCardName,
|
VideoCardName,
|
||||||
VideoCardTitle,
|
VideoCardTitle,
|
||||||
FileContainer,
|
|
||||||
VideoUploadDate,
|
VideoUploadDate,
|
||||||
} from "./FileList-styles.tsx";
|
} from "./FileList-styles.tsx";
|
||||||
import ResponsiveImage from "../../components/ResponsiveImage";
|
import { formatDate } from "../../utils/time";
|
||||||
import { formatDate, formatTimestampSeconds } from "../../utils/time";
|
|
||||||
import { Video } from "../../state/features/fileSlice.ts";
|
import { Video } from "../../state/features/fileSlice.ts";
|
||||||
import { queue } from "../../wrappers/GlobalWrapper";
|
import { queue } from "../../wrappers/GlobalWrapper";
|
||||||
import { QSHARE_FILE_BASE } from "../../constants/Identifiers.ts";
|
import { QSHARE_FILE_BASE } from "../../constants/Identifiers.ts";
|
||||||
import { formatBytes } from "../FileContent/FileContent.tsx";
|
import { formatBytes } from "../FileContent/FileContent.tsx";
|
||||||
import {
|
import { getIconsFromObject } from "../../constants/Categories/CategoryFunctions.ts";
|
||||||
firstCategories,
|
|
||||||
secondCategories,
|
|
||||||
thirdCategories,
|
|
||||||
fourthCategories,
|
|
||||||
iconCategories,
|
|
||||||
} from "../../constants/Categories/1stCategories.ts";
|
|
||||||
import { getCategoriesFromObject } from "../../components/common/CategoryList/CategoryList.tsx";
|
|
||||||
import {
|
|
||||||
findAllCategoryData,
|
|
||||||
findCategoryData,
|
|
||||||
getCategoriesWithIcons,
|
|
||||||
getIconsFromObject,
|
|
||||||
} from "../../constants/Categories/CategoryFunctions.ts";
|
|
||||||
|
|
||||||
interface VideoListProps {
|
interface VideoListProps {
|
||||||
mode?: string;
|
mode?: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user