optimize all imports in ui-webapp and reformat with prettier

This commit is contained in:
Eduard Heimbuch
2020-01-08 15:57:13 +01:00
parent b8d4bb6904
commit 0d546755a9
79 changed files with 340 additions and 348 deletions

View File

@@ -4,13 +4,13 @@ import { WithTranslation, withTranslation } from "react-i18next";
import { compose } from "redux";
import { PendingPlugins, PluginCollection } from "@scm-manager/ui-types";
import {
Button,
ButtonGroup,
ErrorNotification,
Loading,
Notification,
Subtitle,
Title,
Button
Title
} from "@scm-manager/ui-components";
import {
fetchPendingPlugins,
@@ -31,7 +31,7 @@ import PluginBottomActions from "../components/PluginBottomActions";
import ExecutePendingActionModal from "../components/ExecutePendingActionModal";
import CancelPendingActionModal from "../components/CancelPendingActionModal";
import UpdateAllActionModal from "../components/UpdateAllActionModal";
import {Plugin} from "@scm-manager/ui-types/src";
import { Plugin } from "@scm-manager/ui-types/src";
type Props = WithTranslation & {
loading: boolean;

View File

@@ -2,25 +2,25 @@ import configureMockStore from "redux-mock-store";
import thunk from "redux-thunk";
import fetchMock from "fetch-mock";
import reducer, {
FETCH_PLUGINS,
FETCH_PLUGINS_PENDING,
FETCH_PLUGINS_SUCCESS,
FETCH_PLUGINS_FAILURE,
FETCH_PLUGIN,
FETCH_PLUGIN_FAILURE,
FETCH_PLUGIN_PENDING,
FETCH_PLUGIN_SUCCESS,
FETCH_PLUGIN_FAILURE,
fetchPluginsByLink,
fetchPluginsSuccess,
getPluginCollection,
isFetchPluginsPending,
getFetchPluginsFailure,
FETCH_PLUGINS,
FETCH_PLUGINS_FAILURE,
FETCH_PLUGINS_PENDING,
FETCH_PLUGINS_SUCCESS,
fetchPluginByLink,
fetchPluginByName,
fetchPluginsByLink,
fetchPluginsSuccess,
fetchPluginSuccess,
getFetchPluginFailure,
getFetchPluginsFailure,
getPlugin,
getPluginCollection,
isFetchPluginPending,
getFetchPluginFailure
isFetchPluginsPending
} from "./plugins";
import { Plugin, PluginCollection } from "@scm-manager/ui-types";