mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 06:24:19 +00:00
🧹 Optimize imports
This commit is contained in:
parent
ad8f0e3632
commit
981243f3dd
11 changed files with 11 additions and 24 deletions
|
@ -1,6 +1,6 @@
|
|||
import React, { useMemo } from "react"
|
||||
import Alert from "../base/Alert"
|
||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||
import { faExclamationTriangle } from "@fortawesome/free-solid-svg-icons"
|
||||
import {
|
||||
DecodeError,
|
||||
|
|
|
@ -3,18 +3,10 @@ import BoxFull from "../base/BoxFull"
|
|||
import FormLabelled from "../base/FormLabelled"
|
||||
import FormLabel from "../base/formparts/FormLabel"
|
||||
import InputWithIcon from "../base/InputWithIcon"
|
||||
import {
|
||||
faBackward, faBell,
|
||||
faFolder,
|
||||
faPencilAlt,
|
||||
faPlus, faStopwatch,
|
||||
faThermometerThreeQuarters,
|
||||
} from "@fortawesome/free-solid-svg-icons"
|
||||
import { faBell, faPlus, faStopwatch, faThermometerThreeQuarters } from "@fortawesome/free-solid-svg-icons"
|
||||
import Radio from "../base/Radio"
|
||||
import Button from "../base/Button"
|
||||
import useRepositoryEditor from "../../hooks/useRepositoryEditor"
|
||||
import FormAlert from "../base/formparts/FormAlert"
|
||||
import { useHistory } from "react-router"
|
||||
import useStrings from "../../hooks/useStrings"
|
||||
|
||||
|
||||
|
|
|
@ -6,9 +6,7 @@ import InputWithIcon from "../base/InputWithIcon"
|
|||
import { faBackward, faFolder, faPencilAlt, faPlus } from "@fortawesome/free-solid-svg-icons"
|
||||
import Radio from "../base/Radio"
|
||||
import Button from "../base/Button"
|
||||
import useRepositoryEditor from "../../hooks/useRepositoryEditor"
|
||||
import FormAlert from "../base/formparts/FormAlert"
|
||||
import { useHistory } from "react-router"
|
||||
import useStrings from "../../hooks/useStrings"
|
||||
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@ import {
|
|||
faHashtag,
|
||||
faImage,
|
||||
faLocationArrow,
|
||||
faMapMarkerAlt, faRetweet,
|
||||
faMapMarkerAlt,
|
||||
faRetweet,
|
||||
} from "@fortawesome/free-solid-svg-icons"
|
||||
import ButtonPicker from "./ButtonPicker"
|
||||
import ContextRepositoryViewer from "../../contexts/ContextRepositoryViewer"
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
import React, { useContext } from "react"
|
||||
import { faBell, faShare, faStar, faTrash, faUser } from "@fortawesome/free-solid-svg-icons"
|
||||
import React from "react"
|
||||
import { faBell, faTrash } from "@fortawesome/free-solid-svg-icons"
|
||||
import SummaryBase from "../base/summary/SummaryBase"
|
||||
import SummaryLeft from "../base/summary/SummaryLeft"
|
||||
import SummaryLabels from "../base/summary/SummaryLabels"
|
||||
import SummaryButton from "../base/summary/SummaryButton"
|
||||
import SummaryRight from "../base/summary/SummaryRight"
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||
import ContextUser from "../../contexts/ContextUser"
|
||||
import useStrings from "../../hooks/useStrings"
|
||||
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import countTweetWords from "../../utils/countTweetWords"
|
|||
import BoxHeader from "../base/BoxHeader"
|
||||
import Loading from "../base/Loading"
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||
import { faFolder, faFolderOpen, faPlus, faTrash } from "@fortawesome/free-solid-svg-icons"
|
||||
import { faFolder, faFolderOpen } from "@fortawesome/free-solid-svg-icons"
|
||||
import BoxRepositoryTweets from "../interactive/BoxRepositoryTweets"
|
||||
import PickerVisualization from "../interactive/PickerVisualization"
|
||||
import BoxVisualizationWordcloud from "../interactive/BoxVisualizationWordcloud"
|
||||
|
@ -29,7 +29,6 @@ import BoxFilterHasPlace from "../interactive/BoxFilterHasPlace"
|
|||
import BoxFilterHasImage from "../interactive/BoxFilterHasImage"
|
||||
import BoxFilterIsNotRetweet from "../interactive/BoxFilterIsNotRetweet"
|
||||
import PageWithHeader from "../base/layout/PageWithHeader"
|
||||
import ButtonHeader from "../base/ButtonHeader"
|
||||
import AlertError from "../interactive/AlertError"
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { useCallback, useContext, useState } from "react"
|
||||
import ContextServer from "../contexts/ContextServer"
|
||||
import ContextUser from "../contexts/ContextUser"
|
||||
import { ServerNotConfiguredError, FetchAlreadyRunningError, DecodeError, ResultError } from "../objects/Errors"
|
||||
import { DecodeError, FetchAlreadyRunningError, ResultError, ServerNotConfiguredError } from "../objects/Errors"
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,8 @@ import {
|
|||
faHashtag,
|
||||
faImage,
|
||||
faLocationArrow,
|
||||
faMapMarkerAlt, faRetweet,
|
||||
faMapMarkerAlt,
|
||||
faRetweet,
|
||||
} from "@fortawesome/free-solid-svg-icons"
|
||||
import Coordinates from "./Coordinates"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import { useHistory } from "react-router"
|
|||
import ContextLanguage from "../contexts/ContextLanguage"
|
||||
import BoxHeader from "../components/base/BoxHeader"
|
||||
import { faHome, faPlus } from "@fortawesome/free-solid-svg-icons"
|
||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||
import PageWithHeader from "../components/base/layout/PageWithHeader"
|
||||
import ButtonHeader from "../components/base/ButtonHeader"
|
||||
import BodyHorizontalHalves from "../components/base/layout/BodyHorizontalHalves"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import React, { useCallback, useContext } from "react"
|
||||
import BoxFull from "../components/base/BoxFull"
|
||||
import ContextLanguage from "../contexts/ContextLanguage"
|
||||
import BoxHeader from "../components/base/BoxHeader"
|
||||
import { useHistory, useParams } from "react-router"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import React, { useContext } from "react"
|
||||
import ContextLanguage from "../contexts/ContextLanguage"
|
||||
import BoxHeader from "../components/base/BoxHeader"
|
||||
import { useParams } from "react-router"
|
||||
import { faPlus } from "@fortawesome/free-solid-svg-icons"
|
||||
import PageWithHeader from "../components/base/layout/PageWithHeader"
|
||||
import makeIcon from "../utils/makeIcon"
|
||||
|
|
Loading…
Reference in a new issue