1
Fork 0
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:
Steffo 2021-05-25 17:10:40 +02:00
parent ad8f0e3632
commit 981243f3dd
Signed by: steffo
GPG key ID: 6965406171929D01
11 changed files with 11 additions and 24 deletions

View file

@ -3,18 +3,10 @@ import BoxFull from "../base/BoxFull"
import FormLabelled from "../base/FormLabelled" import FormLabelled from "../base/FormLabelled"
import FormLabel from "../base/formparts/FormLabel" import FormLabel from "../base/formparts/FormLabel"
import InputWithIcon from "../base/InputWithIcon" import InputWithIcon from "../base/InputWithIcon"
import { import { faBell, faPlus, faStopwatch, faThermometerThreeQuarters } from "@fortawesome/free-solid-svg-icons"
faBackward, faBell,
faFolder,
faPencilAlt,
faPlus, faStopwatch,
faThermometerThreeQuarters,
} from "@fortawesome/free-solid-svg-icons"
import Radio from "../base/Radio" import Radio from "../base/Radio"
import Button from "../base/Button" import Button from "../base/Button"
import useRepositoryEditor from "../../hooks/useRepositoryEditor"
import FormAlert from "../base/formparts/FormAlert" import FormAlert from "../base/formparts/FormAlert"
import { useHistory } from "react-router"
import useStrings from "../../hooks/useStrings" import useStrings from "../../hooks/useStrings"

View file

@ -6,9 +6,7 @@ import InputWithIcon from "../base/InputWithIcon"
import { faBackward, faFolder, faPencilAlt, faPlus } from "@fortawesome/free-solid-svg-icons" import { faBackward, faFolder, faPencilAlt, faPlus } from "@fortawesome/free-solid-svg-icons"
import Radio from "../base/Radio" import Radio from "../base/Radio"
import Button from "../base/Button" import Button from "../base/Button"
import useRepositoryEditor from "../../hooks/useRepositoryEditor"
import FormAlert from "../base/formparts/FormAlert" import FormAlert from "../base/formparts/FormAlert"
import { useHistory } from "react-router"
import useStrings from "../../hooks/useStrings" import useStrings from "../../hooks/useStrings"

View file

@ -7,7 +7,8 @@ import {
faHashtag, faHashtag,
faImage, faImage,
faLocationArrow, faLocationArrow,
faMapMarkerAlt, faRetweet, faMapMarkerAlt,
faRetweet,
} from "@fortawesome/free-solid-svg-icons" } from "@fortawesome/free-solid-svg-icons"
import ButtonPicker from "./ButtonPicker" import ButtonPicker from "./ButtonPicker"
import ContextRepositoryViewer from "../../contexts/ContextRepositoryViewer" import ContextRepositoryViewer from "../../contexts/ContextRepositoryViewer"

View file

@ -1,12 +1,10 @@
import React, { useContext } from "react" import React from "react"
import { faBell, faShare, faStar, faTrash, faUser } from "@fortawesome/free-solid-svg-icons" import { faBell, faTrash } from "@fortawesome/free-solid-svg-icons"
import SummaryBase from "../base/summary/SummaryBase" import SummaryBase from "../base/summary/SummaryBase"
import SummaryLeft from "../base/summary/SummaryLeft" import SummaryLeft from "../base/summary/SummaryLeft"
import SummaryLabels from "../base/summary/SummaryLabels" import SummaryLabels from "../base/summary/SummaryLabels"
import SummaryButton from "../base/summary/SummaryButton" import SummaryButton from "../base/summary/SummaryButton"
import SummaryRight from "../base/summary/SummaryRight" import SummaryRight from "../base/summary/SummaryRight"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import ContextUser from "../../contexts/ContextUser"
import useStrings from "../../hooks/useStrings" import useStrings from "../../hooks/useStrings"

View file

@ -8,7 +8,7 @@ import countTweetWords from "../../utils/countTweetWords"
import BoxHeader from "../base/BoxHeader" import BoxHeader from "../base/BoxHeader"
import Loading from "../base/Loading" import Loading from "../base/Loading"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" 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 BoxRepositoryTweets from "../interactive/BoxRepositoryTweets"
import PickerVisualization from "../interactive/PickerVisualization" import PickerVisualization from "../interactive/PickerVisualization"
import BoxVisualizationWordcloud from "../interactive/BoxVisualizationWordcloud" import BoxVisualizationWordcloud from "../interactive/BoxVisualizationWordcloud"
@ -29,7 +29,6 @@ import BoxFilterHasPlace from "../interactive/BoxFilterHasPlace"
import BoxFilterHasImage from "../interactive/BoxFilterHasImage" import BoxFilterHasImage from "../interactive/BoxFilterHasImage"
import BoxFilterIsNotRetweet from "../interactive/BoxFilterIsNotRetweet" import BoxFilterIsNotRetweet from "../interactive/BoxFilterIsNotRetweet"
import PageWithHeader from "../base/layout/PageWithHeader" import PageWithHeader from "../base/layout/PageWithHeader"
import ButtonHeader from "../base/ButtonHeader"
import AlertError from "../interactive/AlertError" import AlertError from "../interactive/AlertError"

View file

@ -1,7 +1,7 @@
import { useCallback, useContext, useState } from "react" import { useCallback, useContext, useState } from "react"
import ContextServer from "../contexts/ContextServer" import ContextServer from "../contexts/ContextServer"
import ContextUser from "../contexts/ContextUser" import ContextUser from "../contexts/ContextUser"
import { ServerNotConfiguredError, FetchAlreadyRunningError, DecodeError, ResultError } from "../objects/Errors" import { DecodeError, FetchAlreadyRunningError, ResultError, ServerNotConfiguredError } from "../objects/Errors"
/** /**

View file

@ -6,7 +6,8 @@ import {
faHashtag, faHashtag,
faImage, faImage,
faLocationArrow, faLocationArrow,
faMapMarkerAlt, faRetweet, faMapMarkerAlt,
faRetweet,
} from "@fortawesome/free-solid-svg-icons" } from "@fortawesome/free-solid-svg-icons"
import Coordinates from "./Coordinates" import Coordinates from "./Coordinates"

View file

@ -1,5 +1,4 @@
import React, { useCallback, useContext } from "react" import React, { useCallback, useContext } from "react"
import BoxFull from "../components/base/BoxFull"
import ContextLanguage from "../contexts/ContextLanguage" import ContextLanguage from "../contexts/ContextLanguage"
import BoxHeader from "../components/base/BoxHeader" import BoxHeader from "../components/base/BoxHeader"
import { useHistory, useParams } from "react-router" import { useHistory, useParams } from "react-router"

View file

@ -1,7 +1,6 @@
import React, { useContext } from "react" import React, { useContext } from "react"
import ContextLanguage from "../contexts/ContextLanguage" import ContextLanguage from "../contexts/ContextLanguage"
import BoxHeader from "../components/base/BoxHeader" import BoxHeader from "../components/base/BoxHeader"
import { useParams } from "react-router"
import { faPlus } from "@fortawesome/free-solid-svg-icons" import { faPlus } from "@fortawesome/free-solid-svg-icons"
import PageWithHeader from "../components/base/layout/PageWithHeader" import PageWithHeader from "../components/base/layout/PageWithHeader"
import makeIcon from "../utils/makeIcon" import makeIcon from "../utils/makeIcon"