Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use esModuleInterop
dominik-zeglen35ddbe6e6108
diff --git a/.plop/component/componentName.class.tsx.hbs b/.plop/component/componentName.class.tsx.hbsindex b0199a4d57..7b40570d35 100644--- a/.plop/component/componentName.class.tsx.hbs+++ b/.plop/component/componentName.class.tsx.hbs@@ -6,7 +6,7 @@ import {WithStyles} from "@material-ui/core/styles";{{/if}}-import * as React from "react";+import React from "react";export interface {{ properCase name }}Props {diff --git a/.plop/component/componentName.fc.tsx.hbs b/.plop/component/componentName.fc.tsx.hbsindex 6b20edf47f..7c7eb30222 100644--- a/.plop/component/componentName.fc.tsx.hbs+++ b/.plop/component/componentName.fc.tsx.hbs@@ -6,7 +6,7 @@ import {WithStyles} from "@material-ui/core/styles";{{/if}}-import * as React from "react";+import React from "react";export interface {{ properCase name }}Props {diff --git a/.plop/component/componentName.story.tsx.hbs b/.plop/component/componentName.story.tsx.hbsindex 55bf29b73b..94b91b7596 100644--- a/.plop/component/componentName.story.tsx.hbs+++ b/.plop/component/componentName.story.tsx.hbs@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import {{ properCase name }}, {{{ properCase name }}Propsdiff --git a/package-lock.json b/package-lock.jsonindex fe45f69c32..88ab03ffea 100644--- a/package-lock.json+++ b/package-lock.json@@ -6870,6 +6870,19 @@"indefinite-observable": "^1.0.1"}},+ "@types/lodash": {+ "version": "4.14.135",+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.135.tgz",+ "integrity": "sha512-Ed+tSZ9qM1oYpi5kzdsBuOzcAIn1wDW+e8TFJ50IMJMlSopGdJgKAbhHzN6h1E1OfjlGOr2JepzEWtg9NIfoNg=="+ },+ "@types/lodash-es": {+ "version": "4.17.3",+ "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.3.tgz",+ "integrity": "sha512-iHI0i7ZAL1qepz1Y7f3EKg/zUMDwDfTzitx+AlHhJJvXwenP682ZyGbgPSc5Ej3eEAKVbNWKFuwOadCj5vBbYQ==",+ "requires": {+ "@types/lodash": "*"+ }+ },"@types/moment-timezone": {"version": "0.5.9","resolved": "https://registry.npmjs.org/@types/moment-timezone/-/moment-timezone-0.5.9.tgz",@@ -7039,9 +7052,9 @@"dev": true},"@types/url-join": {- "version": "0.8.2",- "resolved": "https://registry.npmjs.org/@types/url-join/-/url-join-0.8.2.tgz",- "integrity": "sha1-EYHsvh2XtwNODqHjXmLobMJrQi0="+ "version": "0.8.3",+ "resolved": "https://registry.npmjs.org/@types/url-join/-/url-join-0.8.3.tgz",+ "integrity": "sha512-bM7dzLHuCqDNlbeOxvo/KfweN3La4d9C1VFGCgefxiZXn0JcRtyGDwWCSUEO8RrMhnx/LGhDOXP8TTokM1grSA=="},"@types/vfile": {"version": "3.0.2",@@ -15139,8 +15152,7 @@"ansi-regex": {"version": "2.1.1","bundled": true,- "dev": true,- "optional": true+ "dev": true},"aproba": {"version": "1.2.0",@@ -15161,14 +15173,12 @@"balanced-match": {"version": "1.0.0","bundled": true,- "dev": true,- "optional": true+ "dev": true},"brace-expansion": {"version": "1.1.11","bundled": true,"dev": true,- "optional": true,"requires": {"balanced-match": "^1.0.0","concat-map": "0.0.1"@@ -15183,20 +15193,17 @@"code-point-at": {"version": "1.1.0","bundled": true,- "dev": true,- "optional": true+ "dev": true},"concat-map": {"version": "0.0.1","bundled": true,- "dev": true,- "optional": true+ "dev": true},"console-control-strings": {"version": "1.1.0","bundled": true,- "dev": true,- "optional": true+ "dev": true},"core-util-is": {"version": "1.0.2",@@ -15313,8 +15320,7 @@"inherits": {"version": "2.0.3","bundled": true,- "dev": true,- "optional": true+ "dev": true},"ini": {"version": "1.3.5",@@ -15326,7 +15332,6 @@"version": "1.0.0","bundled": true,"dev": true,- "optional": true,"requires": {"number-is-nan": "^1.0.0"}@@ -15341,7 +15346,6 @@"version": "3.0.4","bundled": true,"dev": true,- "optional": true,"requires": {"brace-expansion": "^1.1.7"}@@ -15349,14 +15353,12 @@"minimist": {"version": "0.0.8","bundled": true,- "dev": true,- "optional": true+ "dev": true},"minipass": {"version": "2.2.4","bundled": true,"dev": true,- "optional": true,"requires": {"safe-buffer": "^5.1.1","yallist": "^3.0.0"@@ -15375,7 +15377,6 @@"version": "0.5.1","bundled": true,"dev": true,- "optional": true,"requires": {"minimist": "0.0.8"}@@ -15456,8 +15457,7 @@"number-is-nan": {"version": "1.0.1","bundled": true,- "dev": true,- "optional": true+ "dev": true},"object-assign": {"version": "4.1.1",@@ -15469,7 +15469,6 @@"version": "1.4.0","bundled": true,"dev": true,- "optional": true,"requires": {"wrappy": "1"}@@ -15555,8 +15554,7 @@"safe-buffer": {"version": "5.1.1","bundled": true,- "dev": true,- "optional": true+ "dev": true},"safer-buffer": {"version": "2.1.2",@@ -15592,7 +15590,6 @@"version": "1.0.2","bundled": true,"dev": true,- "optional": true,"requires": {"code-point-at": "^1.0.0","is-fullwidth-code-point": "^1.0.0",@@ -15612,7 +15609,6 @@"version": "3.0.1","bundled": true,"dev": true,- "optional": true,"requires": {"ansi-regex": "^2.0.0"}@@ -15656,14 +15652,12 @@"wrappy": {"version": "1.0.2","bundled": true,- "dev": true,- "optional": true+ "dev": true},"yallist": {"version": "3.0.2","bundled": true,- "dev": true,- "optional": true+ "dev": true}}},@@ -18670,8 +18664,7 @@"ansi-regex": {"version": "2.1.1","bundled": true,- "dev": true,- "optional": true+ "dev": true},"aproba": {"version": "1.2.0",@@ -18692,14 +18685,12 @@"balanced-match": {"version": "1.0.0","bundled": true,- "dev": true,- "optional": true+ "dev": true},"brace-expansion": {"version": "1.1.11","bundled": true,"dev": true,- "optional": true,"requires": {"balanced-match": "^1.0.0","concat-map": "0.0.1"@@ -18714,20 +18705,17 @@"code-point-at": {"version": "1.1.0","bundled": true,- "dev": true,- "optional": true+ "dev": true},"concat-map": {"version": "0.0.1","bundled": true,- "dev": true,- "optional": true+ "dev": true},"console-control-strings": {"version": "1.1.0","bundled": true,- "dev": true,- "optional": true+ "dev": true},"core-util-is": {"version": "1.0.2",@@ -18844,8 +18832,7 @@"inherits": {"version": "2.0.3","bundled": true,- "dev": true,- "optional": true+ "dev": true},"ini": {"version": "1.3.5",@@ -18857,7 +18844,6 @@"version": "1.0.0","bundled": true,"dev": true,- "optional": true,"requires": {"number-is-nan": "^1.0.0"}@@ -18872,7 +18858,6 @@"version": "3.0.4","bundled": true,"dev": true,- "optional": true,"requires": {"brace-expansion": "^1.1.7"}@@ -18880,14 +18865,12 @@"minimist": {"version": "0.0.8","bundled": true,- "dev": true,- "optional": true+ "dev": true},"minipass": {"version": "2.3.5","bundled": true,"dev": true,- "optional": true,"requires": {"safe-buffer": "^5.1.2","yallist": "^3.0.0"@@ -18906,7 +18889,6 @@"version": "0.5.1","bundled": true,"dev": true,- "optional": true,"requires": {"minimist": "0.0.8"}@@ -18987,8 +18969,7 @@"number-is-nan": {"version": "1.0.1","bundled": true,- "dev": true,- "optional": true+ "dev": true},"object-assign": {"version": "4.1.1",@@ -19000,7 +18981,6 @@"version": "1.4.0","bundled": true,"dev": true,- "optional": true,"requires": {"wrappy": "1"}@@ -19086,8 +19066,7 @@"safe-buffer": {"version": "5.1.2","bundled": true,- "dev": true,- "optional": true+ "dev": true},"safer-buffer": {"version": "2.1.2",@@ -19123,7 +19102,6 @@"version": "1.0.2","bundled": true,"dev": true,- "optional": true,"requires": {"code-point-at": "^1.0.0","is-fullwidth-code-point": "^1.0.0",@@ -19143,7 +19121,6 @@"version": "3.0.1","bundled": true,"dev": true,- "optional": true,"requires": {"ansi-regex": "^2.0.0"}@@ -19187,14 +19164,12 @@"wrappy": {"version": "1.0.2","bundled": true,- "dev": true,- "optional": true+ "dev": true},"yallist": {"version": "3.0.3","bundled": true,- "dev": true,- "optional": true+ "dev": true}}},@@ -22267,6 +22242,11 @@"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz","integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="},+ "lodash-es": {+ "version": "4.17.11",+ "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.11.tgz",+ "integrity": "sha512-DHb1ub+rMjjrxqlB3H56/6MXtm1lSksDp2rA2cNWjG8mlDUYFhUj3Di2Zn5IwSU87xLv8tNIQ7sSwE/YOX/D/Q=="+ },"lodash._reinterpolate": {"version": "3.0.0","resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",diff --git a/package.json b/package.jsonindex 6edd7a0a2b..7dac1697bb 100644--- a/package.json+++ b/package.json@@ -23,6 +23,7 @@"@types/classnames": "^2.2.6","@types/enzyme": "^3.1.15","@types/fuzzaldrin": "^2.1.1",+ "@types/lodash-es": "^4.17.3","@types/moment-timezone": "^0.5.9","@types/react-dropzone": "^4.2.2","@types/react-helmet": "^5.0.7",@@ -30,7 +31,7 @@"@types/react-sortable-tree": "^0.3.6","@types/storybook__addon-storyshots": "^3.4.3","@types/string-similarity": "^1.2.0",- "@types/url-join": "^0.8.2",+ "@types/url-join": "^0.8.3","apollo": "^2.8.1","apollo-cache-inmemory": "^1.3.11","apollo-client": "^2.4.7",@@ -63,7 +64,7 @@"jss": "^9.8.7","keycode": "^2.2.0","lazysizes": "^4.0.1",- "lodash": "^4.17.11",+ "lodash-es": "^4.17.11","materialize-css": "^0.100.2","medium-editor": "^5.23.3","mobx": "^3.0.2",@@ -198,7 +199,8 @@"node"],"moduleNameMapper": {- "@saleor(.*)$": "<rootDir>/saleor/static/dashboard-next/$1"+ "@saleor(.*)$": "<rootDir>/saleor/static/dashboard-next/$1",+ "^lodash-es$": "<rootDir>/node_modules/lodash/index.js"}},"scripts": {diff --git a/saleor/static/dashboard-next/Baseline.tsx b/saleor/static/dashboard-next/Baseline.tsxindex 5babc7adee..1694647713 100644--- a/saleor/static/dashboard-next/Baseline.tsx+++ b/saleor/static/dashboard-next/Baseline.tsx@@ -1,6 +1,6 @@import CssBaseline from "@material-ui/core/CssBaseline";import { createStyles, withStyles } from "@material-ui/core/styles";-import * as React from "react";+import React from "react";const styles = createStyles({"@global": {diff --git a/saleor/static/dashboard-next/NotFound.tsx b/saleor/static/dashboard-next/NotFound.tsxindex 075e7d4d76..8833b52b7d 100644--- a/saleor/static/dashboard-next/NotFound.tsx+++ b/saleor/static/dashboard-next/NotFound.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import NotFoundPage from "./components/NotFoundPage";import useNavigator from "./hooks/useNavigator";diff --git a/saleor/static/dashboard-next/auth/AuthProvider.tsx b/saleor/static/dashboard-next/auth/AuthProvider.tsxindex 64da58a5c4..147dec6b04 100644--- a/saleor/static/dashboard-next/auth/AuthProvider.tsx+++ b/saleor/static/dashboard-next/auth/AuthProvider.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { getMutationProviderData } from "../misc";import { PartialMutationProviderOutput } from "../types";diff --git a/saleor/static/dashboard-next/auth/components/LoginLoading/LoginLoading.tsx b/saleor/static/dashboard-next/auth/components/LoginLoading/LoginLoading.tsxindex 99ad30b767..f53b921aa6 100644--- a/saleor/static/dashboard-next/auth/components/LoginLoading/LoginLoading.tsx+++ b/saleor/static/dashboard-next/auth/components/LoginLoading/LoginLoading.tsx@@ -1,6 +1,6 @@import CircularProgress from "@material-ui/core/CircularProgress";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";-import * as React from "react";+import React from "react";const styles = createStyles({root: {diff --git a/saleor/static/dashboard-next/auth/components/LoginPage/LoginPage.tsx b/saleor/static/dashboard-next/auth/components/LoginPage/LoginPage.tsxindex 23eda9fb14..574c2dfa2c 100644--- a/saleor/static/dashboard-next/auth/components/LoginPage/LoginPage.tsx+++ b/saleor/static/dashboard-next/auth/components/LoginPage/LoginPage.tsx@@ -7,16 +7,16 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import SVG from "react-inlinesvg";import { ControlledCheckbox } from "@saleor/components/ControlledCheckbox";import Form from "@saleor/components/Form";import { FormSpacer } from "@saleor/components/FormSpacer";import useTheme from "@saleor/hooks/useTheme";-import * as backgroundArt from "../../../../images/login-background.svg";-import * as saleorDarkLogo from "../../../../images/logo-dark.svg";-import * as saleorLightLogo from "../../../../images/logo-light.svg";+import backgroundArt from "../../../../images/login-background.svg";+import saleorDarkLogo from "../../../../images/logo-dark.svg";+import saleorLightLogo from "../../../../images/logo-light.svg";import i18n from "../../../i18n";export interface FormData {diff --git a/saleor/static/dashboard-next/auth/components/SectionRoute.tsx b/saleor/static/dashboard-next/auth/components/SectionRoute.tsxindex c5c97d3153..a9ec3a4935 100644--- a/saleor/static/dashboard-next/auth/components/SectionRoute.tsx+++ b/saleor/static/dashboard-next/auth/components/SectionRoute.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { Route, RouteProps } from "react-router-dom";import AppLayout from "@saleor/components/AppLayout";diff --git a/saleor/static/dashboard-next/auth/index.tsx b/saleor/static/dashboard-next/auth/index.tsxindex a38347d308..5af2ad33ef 100644--- a/saleor/static/dashboard-next/auth/index.tsx+++ b/saleor/static/dashboard-next/auth/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { User } from "./types/User";diff --git a/saleor/static/dashboard-next/auth/views/Login.tsx b/saleor/static/dashboard-next/auth/views/Login.tsxindex 508f4e8c94..5c61f12699 100644--- a/saleor/static/dashboard-next/auth/views/Login.tsx+++ b/saleor/static/dashboard-next/auth/views/Login.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import LoginPage, { FormData } from "../components/LoginPage";import { UserContext } from "../index";diff --git a/saleor/static/dashboard-next/categories/components/CategoryBackground/CategoryBackground.tsx b/saleor/static/dashboard-next/categories/components/CategoryBackground/CategoryBackground.tsxindex a90674bdc7..2dca98b19d 100644--- a/saleor/static/dashboard-next/categories/components/CategoryBackground/CategoryBackground.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryBackground/CategoryBackground.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import Button from "@material-ui/core/Button";import Card from "@material-ui/core/Card";diff --git a/saleor/static/dashboard-next/categories/components/CategoryCreatePage/CategoryCreatePage.tsx b/saleor/static/dashboard-next/categories/components/CategoryCreatePage/CategoryCreatePage.tsxindex 0177f68e2b..664d3b2b5a 100644--- a/saleor/static/dashboard-next/categories/components/CategoryCreatePage/CategoryCreatePage.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryCreatePage/CategoryCreatePage.tsx@@ -1,5 +1,5 @@import { ContentState, convertToRaw, RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { CardSpacer } from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/categories/components/CategoryDeleteDialog/CategoryDeleteDialog.tsx b/saleor/static/dashboard-next/categories/components/CategoryDeleteDialog/CategoryDeleteDialog.tsxindex 0dd8a1e29e..3fb36f4c8a 100644--- a/saleor/static/dashboard-next/categories/components/CategoryDeleteDialog/CategoryDeleteDialog.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryDeleteDialog/CategoryDeleteDialog.tsx@@ -10,7 +10,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/categories/components/CategoryDetailsForm/CategoryDetailsForm.tsx b/saleor/static/dashboard-next/categories/components/CategoryDetailsForm/CategoryDetailsForm.tsxindex 74e41a6c3c..cffbd95799 100644--- a/saleor/static/dashboard-next/categories/components/CategoryDetailsForm/CategoryDetailsForm.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryDetailsForm/CategoryDetailsForm.tsx@@ -3,7 +3,7 @@ import CardContent from "@material-ui/core/CardContent";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import { RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import FormSpacer from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/categories/components/CategoryList/CategoryList.tsx b/saleor/static/dashboard-next/categories/components/CategoryList/CategoryList.tsxindex 232509160f..6b8776b8f6 100644--- a/saleor/static/dashboard-next/categories/components/CategoryList/CategoryList.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryList/CategoryList.tsx@@ -11,7 +11,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Checkbox from "@saleor/components/Checkbox";diff --git a/saleor/static/dashboard-next/categories/components/CategoryListPage/CategoryListPage.tsx b/saleor/static/dashboard-next/categories/components/CategoryListPage/CategoryListPage.tsxindex 38acf31eb9..e465c255be 100644--- a/saleor/static/dashboard-next/categories/components/CategoryListPage/CategoryListPage.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryListPage/CategoryListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import Container from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx b/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsxindex 5f41d6f531..56d7ec5fe4 100644--- a/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx@@ -12,7 +12,7 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/categories/components/CategoryProductsCard/CategoryProductsCard.tsx b/saleor/static/dashboard-next/categories/components/CategoryProductsCard/CategoryProductsCard.tsxindex ca0017123f..78f2a22630 100644--- a/saleor/static/dashboard-next/categories/components/CategoryProductsCard/CategoryProductsCard.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryProductsCard/CategoryProductsCard.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import Card from "@material-ui/core/Card";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import ProductList from "@saleor/components/ProductList";diff --git a/saleor/static/dashboard-next/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx b/saleor/static/dashboard-next/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsxindex 03d242a9f0..2b944e3056 100644--- a/saleor/static/dashboard-next/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx@@ -1,5 +1,5 @@import { RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { CardSpacer } from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/categories/index.tsx b/saleor/static/dashboard-next/categories/index.tsxindex 12af20f0a9..01178b737f 100644--- a/saleor/static/dashboard-next/categories/index.tsx+++ b/saleor/static/dashboard-next/categories/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";import i18n from "../i18n";diff --git a/saleor/static/dashboard-next/categories/urls.ts b/saleor/static/dashboard-next/categories/urls.tsindex 09c92f9d22..6d49a8a850 100644--- a/saleor/static/dashboard-next/categories/urls.ts+++ b/saleor/static/dashboard-next/categories/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { ActiveTab, BulkAction, Dialog, Pagination } from "../types";import { CategoryPageTab } from "./components/CategoryUpdatePage";diff --git a/saleor/static/dashboard-next/categories/views/CategoryCreate.tsx b/saleor/static/dashboard-next/categories/views/CategoryCreate.tsxindex 903bd70505..03f42f937f 100644--- a/saleor/static/dashboard-next/categories/views/CategoryCreate.tsx+++ b/saleor/static/dashboard-next/categories/views/CategoryCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/categories/views/CategoryDetails.tsx b/saleor/static/dashboard-next/categories/views/CategoryDetails.tsxindex 07e927fca0..92d1d1c605 100644--- a/saleor/static/dashboard-next/categories/views/CategoryDetails.tsx+++ b/saleor/static/dashboard-next/categories/views/CategoryDetails.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { WindowTitle } from "@saleor/components/WindowTitle";diff --git a/saleor/static/dashboard-next/categories/views/CategoryList.tsx b/saleor/static/dashboard-next/categories/views/CategoryList.tsxindex 9434767028..ee0e15d6ef 100644--- a/saleor/static/dashboard-next/categories/views/CategoryList.tsx+++ b/saleor/static/dashboard-next/categories/views/CategoryList.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useBulkActions from "@saleor/hooks/useBulkActions";diff --git a/saleor/static/dashboard-next/collections/components/CollectionCreatePage/CollectionCreatePage.tsx b/saleor/static/dashboard-next/collections/components/CollectionCreatePage/CollectionCreatePage.tsxindex 46cc82bf0d..78e92fa014 100644--- a/saleor/static/dashboard-next/collections/components/CollectionCreatePage/CollectionCreatePage.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionCreatePage/CollectionCreatePage.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import { ContentState, convertToRaw, RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { CardSpacer } from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/collections/components/CollectionDetails/CollectionDetails.tsx b/saleor/static/dashboard-next/collections/components/CollectionDetails/CollectionDetails.tsxindex 180342c9fd..db44e3ccb5 100644--- a/saleor/static/dashboard-next/collections/components/CollectionDetails/CollectionDetails.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionDetails/CollectionDetails.tsx@@ -3,7 +3,7 @@ import CardContent from "@material-ui/core/CardContent";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import { RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import FormSpacer from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/collections/components/CollectionDetailsPage/CollectionDetailsPage.tsx b/saleor/static/dashboard-next/collections/components/CollectionDetailsPage/CollectionDetailsPage.tsxindex a974ae6add..9c97df6ead 100644--- a/saleor/static/dashboard-next/collections/components/CollectionDetailsPage/CollectionDetailsPage.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionDetailsPage/CollectionDetailsPage.tsx@@ -1,5 +1,5 @@import { RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { CardSpacer } from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/collections/components/CollectionImage/CollectionImage.tsx b/saleor/static/dashboard-next/collections/components/CollectionImage/CollectionImage.tsxindex f2866483f1..05758727c6 100644--- a/saleor/static/dashboard-next/collections/components/CollectionImage/CollectionImage.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionImage/CollectionImage.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import Button from "@material-ui/core/Button";import Card from "@material-ui/core/Card";diff --git a/saleor/static/dashboard-next/collections/components/CollectionList/CollectionList.tsx b/saleor/static/dashboard-next/collections/components/CollectionList/CollectionList.tsxindex ce8b61550d..6a4b24d9ca 100644--- a/saleor/static/dashboard-next/collections/components/CollectionList/CollectionList.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionList/CollectionList.tsx@@ -10,7 +10,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/collections/components/CollectionListPage/CollectionListPage.tsx b/saleor/static/dashboard-next/collections/components/CollectionListPage/CollectionListPage.tsxindex 4fd39fe3c5..d5580c66e8 100644--- a/saleor/static/dashboard-next/collections/components/CollectionListPage/CollectionListPage.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionListPage/CollectionListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import { Container } from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/collections/components/CollectionProducts/CollectionProducts.tsx b/saleor/static/dashboard-next/collections/components/CollectionProducts/CollectionProducts.tsxindex fc8a420df8..977c1ed454 100644--- a/saleor/static/dashboard-next/collections/components/CollectionProducts/CollectionProducts.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionProducts/CollectionProducts.tsx@@ -13,7 +13,7 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Checkbox from "@saleor/components/Checkbox";diff --git a/saleor/static/dashboard-next/collections/containers/CollectionOperations.tsx b/saleor/static/dashboard-next/collections/containers/CollectionOperations.tsxindex a9f3d8c841..694d85915f 100644--- a/saleor/static/dashboard-next/collections/containers/CollectionOperations.tsx+++ b/saleor/static/dashboard-next/collections/containers/CollectionOperations.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { getMutationProviderData } from "../../misc";import { PartialMutationProviderOutput } from "../../types";diff --git a/saleor/static/dashboard-next/collections/index.tsx b/saleor/static/dashboard-next/collections/index.tsxindex 9706de5cea..75a11dd04d 100644--- a/saleor/static/dashboard-next/collections/index.tsx+++ b/saleor/static/dashboard-next/collections/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/collections/urls.ts b/saleor/static/dashboard-next/collections/urls.tsindex 305fadbee1..e6770071ec 100644--- a/saleor/static/dashboard-next/collections/urls.ts+++ b/saleor/static/dashboard-next/collections/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { BulkAction, Dialog, Pagination } from "../types";diff --git a/saleor/static/dashboard-next/collections/views/CollectionCreate.tsx b/saleor/static/dashboard-next/collections/views/CollectionCreate.tsxindex 24c4eb73f9..29c1de5c60 100644--- a/saleor/static/dashboard-next/collections/views/CollectionCreate.tsx+++ b/saleor/static/dashboard-next/collections/views/CollectionCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/collections/views/CollectionDetails.tsx b/saleor/static/dashboard-next/collections/views/CollectionDetails.tsxindex f9e8c7a3cc..26cb4b48e8 100644--- a/saleor/static/dashboard-next/collections/views/CollectionDetails.tsx+++ b/saleor/static/dashboard-next/collections/views/CollectionDetails.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import AssignProductDialog from "@saleor/components/AssignProductDialog";diff --git a/saleor/static/dashboard-next/collections/views/CollectionList.tsx b/saleor/static/dashboard-next/collections/views/CollectionList.tsxindex 4914dbbaf7..008fcfb4dd 100644--- a/saleor/static/dashboard-next/collections/views/CollectionList.tsx+++ b/saleor/static/dashboard-next/collections/views/CollectionList.tsx@@ -2,7 +2,7 @@ import Button from "@material-ui/core/Button";import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useBulkActions from "@saleor/hooks/useBulkActions";diff --git a/saleor/static/dashboard-next/components/ActionDialog/ActionDialog.tsx b/saleor/static/dashboard-next/components/ActionDialog/ActionDialog.tsxindex ef4e4786fd..3a5df3a464 100644--- a/saleor/static/dashboard-next/components/ActionDialog/ActionDialog.tsx+++ b/saleor/static/dashboard-next/components/ActionDialog/ActionDialog.tsx@@ -9,8 +9,8 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import i18n from "../../i18n";import ConfirmButton, {diff --git a/saleor/static/dashboard-next/components/AddressEdit/AddressEdit.tsx b/saleor/static/dashboard-next/components/AddressEdit/AddressEdit.tsxindex 0e93fd8237..428340604e 100644--- a/saleor/static/dashboard-next/components/AddressEdit/AddressEdit.tsx+++ b/saleor/static/dashboard-next/components/AddressEdit/AddressEdit.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import { AddressTypeInput } from "../../customers/types";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/AddressFormatter/AddressFormatter.tsx b/saleor/static/dashboard-next/components/AddressFormatter/AddressFormatter.tsxindex db16de1a48..fa9efcc260 100644--- a/saleor/static/dashboard-next/components/AddressFormatter/AddressFormatter.tsx+++ b/saleor/static/dashboard-next/components/AddressFormatter/AddressFormatter.tsx@@ -1,5 +1,5 @@import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import { AddressType } from "../../customers/types";import Skeleton from "../Skeleton";diff --git a/saleor/static/dashboard-next/components/AppHeader/AppHeader.tsx b/saleor/static/dashboard-next/components/AppHeader/AppHeader.tsxindex 1cd32ed5a9..3c21e7f82b 100644--- a/saleor/static/dashboard-next/components/AppHeader/AppHeader.tsx+++ b/saleor/static/dashboard-next/components/AppHeader/AppHeader.tsx@@ -7,7 +7,7 @@ import {} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";import ArrowBackIcon from "@material-ui/icons/ArrowBack";-import * as React from "react";+import React from "react";import AppHeaderContext from "../AppLayout/AppHeaderContext";import Skeleton from "../Skeleton";diff --git a/saleor/static/dashboard-next/components/AppLayout/AppActionContext.tsx b/saleor/static/dashboard-next/components/AppLayout/AppActionContext.tsxindex 31e3de50dc..6083d883b7 100644--- a/saleor/static/dashboard-next/components/AppLayout/AppActionContext.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/AppActionContext.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";const AppActionContext = React.createContext<React.RefObject<HTMLDivElement>>(undefineddiff --git a/saleor/static/dashboard-next/components/AppLayout/AppHeaderContext.tsx b/saleor/static/dashboard-next/components/AppLayout/AppHeaderContext.tsxindex 73255b6652..9026554969 100644--- a/saleor/static/dashboard-next/components/AppLayout/AppHeaderContext.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/AppHeaderContext.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";const AppHeaderContext = React.createContext<React.RefObject<HTMLDivElement>>(undefineddiff --git a/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx b/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsxindex 07da007c36..9552a37644 100644--- a/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx@@ -12,8 +12,8 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import SVG from "react-inlinesvg";import { RouteComponentProps, withRouter } from "react-router";@@ -21,8 +21,8 @@ import AppProgressProvider from "@saleor/components/AppProgress";import useNavigator from "@saleor/hooks/useNavigator";import useTheme from "@saleor/hooks/useTheme";import useUser from "@saleor/hooks/useUser";-import * as saleorDarkLogo from "../../../images/logo-dark.svg";-import * as saleorLightLogo from "../../../images/logo-light.svg";+import saleorDarkLogo from "../../../images/logo-dark.svg";+import saleorLightLogo from "../../../images/logo-light.svg";import i18n from "../../i18n";import ArrowDropdown from "../../icons/ArrowDropdown";import Container from "../Container";diff --git a/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx b/saleor/static/dashboard-next/components/AppLayout/MenuList.tsxindex b875a8a9fb..994e0225d0 100644--- a/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx@@ -6,7 +6,7 @@ import {} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";import classNames from "classnames";-import * as React from "react";+import React from "react";import { matchPath } from "react-router";import { User } from "../../auth/types/User";diff --git a/saleor/static/dashboard-next/components/AppLayout/MenuNested.tsx b/saleor/static/dashboard-next/components/AppLayout/MenuNested.tsxindex 44f69ed885..afa63fd12d 100644--- a/saleor/static/dashboard-next/components/AppLayout/MenuNested.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/MenuNested.tsx@@ -1,6 +1,6 @@import Typography from "@material-ui/core/Typography";import classNames from "classnames";-import * as React from "react";+import React from "react";import { User } from "../../auth/types/User";import MenuList from "./MenuList";diff --git a/saleor/static/dashboard-next/components/AppLayout/ResponsiveDrawer.tsx b/saleor/static/dashboard-next/components/AppLayout/ResponsiveDrawer.tsxindex 2241499994..49fac57c12 100644--- a/saleor/static/dashboard-next/components/AppLayout/ResponsiveDrawer.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/ResponsiveDrawer.tsx@@ -6,7 +6,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import { drawerWidth } from "./consts";const styles = (theme: Theme) =>diff --git a/saleor/static/dashboard-next/components/AppLayout/ThemeSwitch.tsx b/saleor/static/dashboard-next/components/AppLayout/ThemeSwitch.tsxindex 4292f1c732..17112caf29 100644--- a/saleor/static/dashboard-next/components/AppLayout/ThemeSwitch.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/ThemeSwitch.tsx@@ -1,6 +1,6 @@import { Theme, withStyles } from "@material-ui/core/styles";import Switch, { SwitchProps } from "@material-ui/core/Switch";-import * as React from "react";+import React from "react";import MoonIcon from "../../icons/Moon";import SunIcon from "../../icons/Sun";diff --git a/saleor/static/dashboard-next/components/AppProgress/index.tsx b/saleor/static/dashboard-next/components/AppProgress/index.tsxindex 7be0c21321..27cc6f67f0 100644--- a/saleor/static/dashboard-next/components/AppProgress/index.tsx+++ b/saleor/static/dashboard-next/components/AppProgress/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";interface IAppProgressContext {isProgress: boolean;diff --git a/saleor/static/dashboard-next/components/AssignCategoryDialog/AssignCategoryDialog.tsx b/saleor/static/dashboard-next/components/AssignCategoryDialog/AssignCategoryDialog.tsxindex 656c639053..a272a7da85 100644--- a/saleor/static/dashboard-next/components/AssignCategoryDialog/AssignCategoryDialog.tsx+++ b/saleor/static/dashboard-next/components/AssignCategoryDialog/AssignCategoryDialog.tsx@@ -10,7 +10,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableRow from "@material-ui/core/TableRow";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/components/AssignCollectionDialog/AssignCollectionDialog.tsx b/saleor/static/dashboard-next/components/AssignCollectionDialog/AssignCollectionDialog.tsxindex bd4cd2dbd5..6d0780427b 100644--- a/saleor/static/dashboard-next/components/AssignCollectionDialog/AssignCollectionDialog.tsx+++ b/saleor/static/dashboard-next/components/AssignCollectionDialog/AssignCollectionDialog.tsx@@ -10,7 +10,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableRow from "@material-ui/core/TableRow";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import { SearchCollections_collections_edges_node } from "../../containers/SearchCollections/types/SearchCollections";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/AssignProductDialog/AssignProductDialog.tsx b/saleor/static/dashboard-next/components/AssignProductDialog/AssignProductDialog.tsxindex a675a6d473..9b975d6811 100644--- a/saleor/static/dashboard-next/components/AssignProductDialog/AssignProductDialog.tsx+++ b/saleor/static/dashboard-next/components/AssignProductDialog/AssignProductDialog.tsx@@ -10,7 +10,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableRow from "@material-ui/core/TableRow";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/components/AutocompleteSelectMenu/AutocompleteSelectMenu.tsx b/saleor/static/dashboard-next/components/AutocompleteSelectMenu/AutocompleteSelectMenu.tsxindex d00ca186ff..20a458e5fd 100644--- a/saleor/static/dashboard-next/components/AutocompleteSelectMenu/AutocompleteSelectMenu.tsx+++ b/saleor/static/dashboard-next/components/AutocompleteSelectMenu/AutocompleteSelectMenu.tsx@@ -10,7 +10,7 @@ import {import TextField from "@material-ui/core/TextField";import ArrowBack from "@material-ui/icons/ArrowBack";import Downshift from "downshift";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import {diff --git a/saleor/static/dashboard-next/components/CardMenu/CardMenu.tsx b/saleor/static/dashboard-next/components/CardMenu/CardMenu.tsxindex 4135ce4183..1ce0e9c417 100644--- a/saleor/static/dashboard-next/components/CardMenu/CardMenu.tsx+++ b/saleor/static/dashboard-next/components/CardMenu/CardMenu.tsx@@ -8,7 +8,7 @@ import {WithStyles} from "@material-ui/core/styles";import MoreVertIcon from "@material-ui/icons/MoreVert";-import * as React from "react";+import React from "react";const ITEM_HEIGHT = 48;diff --git a/saleor/static/dashboard-next/components/CardSpacer.tsx b/saleor/static/dashboard-next/components/CardSpacer.tsxindex 98d70f95a9..9f205b5735 100644--- a/saleor/static/dashboard-next/components/CardSpacer.tsx+++ b/saleor/static/dashboard-next/components/CardSpacer.tsx@@ -4,7 +4,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/CardTitle/CardTitle.tsx b/saleor/static/dashboard-next/components/CardTitle/CardTitle.tsxindex 92c061f0a4..8f46657def 100644--- a/saleor/static/dashboard-next/components/CardTitle/CardTitle.tsx+++ b/saleor/static/dashboard-next/components/CardTitle/CardTitle.tsx@@ -5,8 +5,8 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/Checkbox/Checkbox.tsx b/saleor/static/dashboard-next/components/Checkbox/Checkbox.tsxindex a82a63d7c7..2a715c8e13 100644--- a/saleor/static/dashboard-next/components/Checkbox/Checkbox.tsx+++ b/saleor/static/dashboard-next/components/Checkbox/Checkbox.tsx@@ -8,7 +8,7 @@ import {WithStyles} from "@material-ui/core/styles";import classNames from "classnames";-import * as React from "react";+import React from "react";import { stopPropagation } from "../../misc";export type CheckboxProps = Omit<diff --git a/saleor/static/dashboard-next/components/Chip/Chip.tsx b/saleor/static/dashboard-next/components/Chip/Chip.tsxindex f003b16b0a..535861af7e 100644--- a/saleor/static/dashboard-next/components/Chip/Chip.tsx+++ b/saleor/static/dashboard-next/components/Chip/Chip.tsx@@ -8,7 +8,7 @@ import { fade } from "@material-ui/core/styles/colorManipulator";import Typography from "@material-ui/core/Typography";import CloseIcon from "@material-ui/icons/Close";import classNames from "classnames";-import * as React from "react";+import React from "react";export interface ChipProps {className?: string;diff --git a/saleor/static/dashboard-next/components/ConfirmButton/ConfirmButton.tsx b/saleor/static/dashboard-next/components/ConfirmButton/ConfirmButton.tsxindex b1a1c7b912..07185213a0 100644--- a/saleor/static/dashboard-next/components/ConfirmButton/ConfirmButton.tsx+++ b/saleor/static/dashboard-next/components/ConfirmButton/ConfirmButton.tsx@@ -9,7 +9,7 @@ import {} from "@material-ui/core/styles";import CheckIcon from "@material-ui/icons/Check";import classNames from "classnames";-import * as React from "react";+import React from "react";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/ConfirmFormLeaveDialog.tsx b/saleor/static/dashboard-next/components/ConfirmFormLeaveDialog.tsxindex 41bce42b8b..4c5334a26f 100644--- a/saleor/static/dashboard-next/components/ConfirmFormLeaveDialog.tsx+++ b/saleor/static/dashboard-next/components/ConfirmFormLeaveDialog.tsx@@ -10,7 +10,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import NavigationPrompt from "react-router-navigation-prompt";import i18n from "../i18n";diff --git a/saleor/static/dashboard-next/components/Container.tsx b/saleor/static/dashboard-next/components/Container.tsxindex 57d552d013..289563bc35 100644--- a/saleor/static/dashboard-next/components/Container.tsx+++ b/saleor/static/dashboard-next/components/Container.tsx@@ -4,8 +4,8 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/ControlledCheckbox.tsx b/saleor/static/dashboard-next/components/ControlledCheckbox.tsxindex 6e948e6f99..8ce485c108 100644--- a/saleor/static/dashboard-next/components/ControlledCheckbox.tsx+++ b/saleor/static/dashboard-next/components/ControlledCheckbox.tsx@@ -1,5 +1,5 @@import FormControlLabel from "@material-ui/core/FormControlLabel";-import * as React from "react";+import React from "react";import Checkbox from "./Checkbox";diff --git a/saleor/static/dashboard-next/components/ControlledSwitch.tsx b/saleor/static/dashboard-next/components/ControlledSwitch.tsxindex 6b0b341fd0..87b308ba27 100644--- a/saleor/static/dashboard-next/components/ControlledSwitch.tsx+++ b/saleor/static/dashboard-next/components/ControlledSwitch.tsx@@ -1,7 +1,7 @@import { createStyles, Theme, withStyles, WithStyles } from "@material-ui/core";import FormControlLabel from "@material-ui/core/FormControlLabel";import Switch from "@material-ui/core/Switch";-import * as React from "react";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/CountryList/CountryList.tsx b/saleor/static/dashboard-next/components/CountryList/CountryList.tsxindex 014a7db66d..ff0893a967 100644--- a/saleor/static/dashboard-next/components/CountryList/CountryList.tsx+++ b/saleor/static/dashboard-next/components/CountryList/CountryList.tsx@@ -15,7 +15,7 @@ import TableRow from "@material-ui/core/TableRow";import ArrowDropDownIcon from "@material-ui/icons/ArrowDropDown";import DeleteIcon from "@material-ui/icons/Delete";import classNames from "classnames";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/components/Date/Date.test.tsx b/saleor/static/dashboard-next/components/Date/Date.test.tsxindex a1d233515d..77f2d41269 100644--- a/saleor/static/dashboard-next/components/Date/Date.test.tsx+++ b/saleor/static/dashboard-next/components/Date/Date.test.tsx@@ -1,5 +1,5 @@-import * as React from "react";-import * as renderer from "react-test-renderer";+import React from "react";+import renderer from "react-test-renderer";import { TimezoneProvider } from "../Timezone";import Date from "./Date";diff --git a/saleor/static/dashboard-next/components/Date/Date.tsx b/saleor/static/dashboard-next/components/Date/Date.tsxindex f72d7a3be5..6a13ae3bb2 100644--- a/saleor/static/dashboard-next/components/Date/Date.tsx+++ b/saleor/static/dashboard-next/components/Date/Date.tsx@@ -1,6 +1,6 @@import Tooltip from "@material-ui/core/Tooltip";-import * as moment from "moment-timezone";-import * as React from "react";+import moment from "moment-timezone";+import React from "react";import useDateLocalize from "@saleor/hooks/useDateLocalize";import { LocaleConsumer } from "../Locale";diff --git a/saleor/static/dashboard-next/components/Date/DateContext.tsx b/saleor/static/dashboard-next/components/Date/DateContext.tsxindex 449f1bc13b..5e404caa03 100644--- a/saleor/static/dashboard-next/components/Date/DateContext.tsx+++ b/saleor/static/dashboard-next/components/Date/DateContext.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";export const DateContext = React.createContext<number>(undefined);const { Provider, Consumer } = DateContext;diff --git a/saleor/static/dashboard-next/components/Date/DateProvider.tsx b/saleor/static/dashboard-next/components/Date/DateProvider.tsxindex c54f779ce0..90226eb0f0 100644--- a/saleor/static/dashboard-next/components/Date/DateProvider.tsx+++ b/saleor/static/dashboard-next/components/Date/DateProvider.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { Provider } from "./DateContext";diff --git a/saleor/static/dashboard-next/components/Date/DateTime.tsx b/saleor/static/dashboard-next/components/Date/DateTime.tsxindex c3199ce7cc..31af9987ee 100644--- a/saleor/static/dashboard-next/components/Date/DateTime.tsx+++ b/saleor/static/dashboard-next/components/Date/DateTime.tsx@@ -1,6 +1,6 @@import Tooltip from "@material-ui/core/Tooltip";-import * as moment from "moment-timezone";-import * as React from "react";+import moment from "moment-timezone";+import React from "react";import ReactMoment from "react-moment";import { LocaleConsumer } from "../Locale";diff --git a/saleor/static/dashboard-next/components/Debounce.tsx b/saleor/static/dashboard-next/components/Debounce.tsxindex 533c52aba1..5d5c675717 100644--- a/saleor/static/dashboard-next/components/Debounce.tsx+++ b/saleor/static/dashboard-next/components/Debounce.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";export interface DebounceProps<T> {children: ((props: (...args: T[]) => void) => React.ReactNode);diff --git a/saleor/static/dashboard-next/components/DebounceForm.tsx b/saleor/static/dashboard-next/components/DebounceForm.tsxindex 0742aa50b5..7c84736954 100644--- a/saleor/static/dashboard-next/components/DebounceForm.tsx+++ b/saleor/static/dashboard-next/components/DebounceForm.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import Debounce from "./Debounce";export interface DebounceFormProps {diff --git a/saleor/static/dashboard-next/components/DeleteFilterTabDialog/DeleteFilterTabDialog.tsx b/saleor/static/dashboard-next/components/DeleteFilterTabDialog/DeleteFilterTabDialog.tsxindex aa4fb9125d..651304ccea 100644--- a/saleor/static/dashboard-next/components/DeleteFilterTabDialog/DeleteFilterTabDialog.tsx+++ b/saleor/static/dashboard-next/components/DeleteFilterTabDialog/DeleteFilterTabDialog.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import ActionDialog from "../ActionDialog";diff --git a/saleor/static/dashboard-next/components/DraftRenderer.tsx b/saleor/static/dashboard-next/components/DraftRenderer.tsxindex d6fcd508f9..67affe0338 100644--- a/saleor/static/dashboard-next/components/DraftRenderer.tsx+++ b/saleor/static/dashboard-next/components/DraftRenderer.tsx@@ -1,6 +1,6 @@import { RawDraftContentState } from "draft-js";-import * as draftToHtml from "draftjs-to-html";-import * as React from "react";+import draftToHtml from "draftjs-to-html";+import React from "react";interface DraftRendererProps {content: RawDraftContentState;diff --git a/saleor/static/dashboard-next/components/Dropzone.tsx b/saleor/static/dashboard-next/components/Dropzone.tsxindex 1a8c621144..8045324314 100644--- a/saleor/static/dashboard-next/components/Dropzone.tsx+++ b/saleor/static/dashboard-next/components/Dropzone.tsx@@ -1,3 +1,3 @@/* tslint:disable:no-submodule-imports */-import * as Dropzone from "react-dropzone/dist/index";+import Dropzone from "react-dropzone/dist/index";export default Dropzone;diff --git a/saleor/static/dashboard-next/components/EditableTableCell/EditableTableCell.tsx b/saleor/static/dashboard-next/components/EditableTableCell/EditableTableCell.tsxindex 7438e0762a..363d8ea49b 100644--- a/saleor/static/dashboard-next/components/EditableTableCell/EditableTableCell.tsx+++ b/saleor/static/dashboard-next/components/EditableTableCell/EditableTableCell.tsx@@ -9,8 +9,8 @@ import {import TableCell from "@material-ui/core/TableCell";import TextField, { TextFieldProps } from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import Form from "@saleor/components/Form";diff --git a/saleor/static/dashboard-next/components/ErrorMessageCard/ErrorMessageCard.tsx b/saleor/static/dashboard-next/components/ErrorMessageCard/ErrorMessageCard.tsxindex ed64be6f25..f3d4ed6abe 100644--- a/saleor/static/dashboard-next/components/ErrorMessageCard/ErrorMessageCard.tsx+++ b/saleor/static/dashboard-next/components/ErrorMessageCard/ErrorMessageCard.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/ErrorPage/ErrorPage.tsx b/saleor/static/dashboard-next/components/ErrorPage/ErrorPage.tsxindex f2a096b038..fa45cc4259 100644--- a/saleor/static/dashboard-next/components/ErrorPage/ErrorPage.tsx+++ b/saleor/static/dashboard-next/components/ErrorPage/ErrorPage.tsx@@ -6,10 +6,10 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import SVG from "react-inlinesvg";-import * as notFoundImage from "../../../images/what.svg";+import notFoundImage from "../../../images/what.svg";import i18n from "../../i18n";export interface ErrorPageProps extends WithStyles<typeof styles> {diff --git a/saleor/static/dashboard-next/components/ExtendedPageHeader/ExtendedPageHeader.tsx b/saleor/static/dashboard-next/components/ExtendedPageHeader/ExtendedPageHeader.tsxindex 52affe67fe..7a71d6375f 100644--- a/saleor/static/dashboard-next/components/ExtendedPageHeader/ExtendedPageHeader.tsx+++ b/saleor/static/dashboard-next/components/ExtendedPageHeader/ExtendedPageHeader.tsx@@ -4,8 +4,8 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/ExternalLink/ExternalLink.tsx b/saleor/static/dashboard-next/components/ExternalLink/ExternalLink.tsxindex d3b64db1dd..3255f54eab 100644--- a/saleor/static/dashboard-next/components/ExternalLink/ExternalLink.tsx+++ b/saleor/static/dashboard-next/components/ExternalLink/ExternalLink.tsx@@ -1,6 +1,6 @@import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import Typography, { TypographyProps } from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";const styles = createStyles({link: {diff --git a/saleor/static/dashboard-next/components/FileUpload/FileUpload.tsx b/saleor/static/dashboard-next/components/FileUpload/FileUpload.tsxindex ecccddd38d..6d07f8fa4e 100644--- a/saleor/static/dashboard-next/components/FileUpload/FileUpload.tsx+++ b/saleor/static/dashboard-next/components/FileUpload/FileUpload.tsx@@ -1,7 +1,7 @@import Button from "@material-ui/core/Button";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import i18n from "../../i18n";const styles = createStyles({diff --git a/saleor/static/dashboard-next/components/Filter/Filter.tsx b/saleor/static/dashboard-next/components/Filter/Filter.tsxindex 8e31b8ea47..fa32d49ae4 100644--- a/saleor/static/dashboard-next/components/Filter/Filter.tsx+++ b/saleor/static/dashboard-next/components/Filter/Filter.tsx@@ -11,8 +11,8 @@ import {import { fade } from "@material-ui/core/styles/colorManipulator";import Typography from "@material-ui/core/Typography";import ArrowDropDownIcon from "@material-ui/icons/ArrowDropDown";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import { FilterContent } from ".";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/Filter/FilterContent.tsx b/saleor/static/dashboard-next/components/Filter/FilterContent.tsxindex 3822d8cdb0..7df9ce86c6 100644--- a/saleor/static/dashboard-next/components/Filter/FilterContent.tsx+++ b/saleor/static/dashboard-next/components/Filter/FilterContent.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import { makeStyles } from "@material-ui/styles";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/Filter/FilterElement.tsx b/saleor/static/dashboard-next/components/Filter/FilterElement.tsxindex 590ebffff8..202aab160d 100644--- a/saleor/static/dashboard-next/components/Filter/FilterElement.tsx+++ b/saleor/static/dashboard-next/components/Filter/FilterElement.tsx@@ -1,7 +1,7 @@import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";import { makeStyles } from "@material-ui/styles";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import Calendar from "../../icons/Calendar";diff --git a/saleor/static/dashboard-next/components/FilterBar/FilterBar.tsx b/saleor/static/dashboard-next/components/FilterBar/FilterBar.tsxindex e8a75a2299..db92026ccf 100644--- a/saleor/static/dashboard-next/components/FilterBar/FilterBar.tsx+++ b/saleor/static/dashboard-next/components/FilterBar/FilterBar.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import i18n from "../../i18n";import { FilterProps } from "../../types";diff --git a/saleor/static/dashboard-next/components/FilterCard/FilterCard.tsx b/saleor/static/dashboard-next/components/FilterCard/FilterCard.tsxindex 2a03d0fa82..30d18c6a82 100644--- a/saleor/static/dashboard-next/components/FilterCard/FilterCard.tsx+++ b/saleor/static/dashboard-next/components/FilterCard/FilterCard.tsx@@ -3,7 +3,7 @@ import CardContent from "@material-ui/core/CardContent";import CardHeader from "@material-ui/core/CardHeader";import IconButton from "@material-ui/core/IconButton";import RefreshIcon from "@material-ui/icons/Refresh";-import * as React from "react";+import React from "react";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/Form/Form.tsx b/saleor/static/dashboard-next/components/Form/Form.tsxindex 7b19a244b4..306348168a 100644--- a/saleor/static/dashboard-next/components/Form/Form.tsx+++ b/saleor/static/dashboard-next/components/Form/Form.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { UserError } from "../../types";export interface FormProps<T extends {}> {diff --git a/saleor/static/dashboard-next/components/Form/FormActions.tsx b/saleor/static/dashboard-next/components/Form/FormActions.tsxindex 3a1a49a6f3..a6a26bf539 100644--- a/saleor/static/dashboard-next/components/Form/FormActions.tsx+++ b/saleor/static/dashboard-next/components/Form/FormActions.tsx@@ -1,7 +1,7 @@import Button from "@material-ui/core/Button";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import Toolbar from "@material-ui/core/Toolbar";-import * as React from "react";+import React from "react";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/Form/FormContext.tsx b/saleor/static/dashboard-next/components/Form/FormContext.tsxindex b8d73029cb..4ef3b81016 100644--- a/saleor/static/dashboard-next/components/Form/FormContext.tsx+++ b/saleor/static/dashboard-next/components/Form/FormContext.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import FormComponent, { FormProps } from "./Form";diff --git a/saleor/static/dashboard-next/components/FormSpacer.tsx b/saleor/static/dashboard-next/components/FormSpacer.tsxindex 3401eb6cf2..0ab94843de 100644--- a/saleor/static/dashboard-next/components/FormSpacer.tsx+++ b/saleor/static/dashboard-next/components/FormSpacer.tsx@@ -4,7 +4,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/Grid/Grid.tsx b/saleor/static/dashboard-next/components/Grid/Grid.tsxindex b5cc6664c0..31a58cd477 100644--- a/saleor/static/dashboard-next/components/Grid/Grid.tsx+++ b/saleor/static/dashboard-next/components/Grid/Grid.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import classNames from "classnames";-import * as React from "react";+import React from "react";export type GridVariant = "default" | "inverted" | "uniform";export interface GridProps extends WithStyles<typeof styles> {diff --git a/saleor/static/dashboard-next/components/Hr.tsx b/saleor/static/dashboard-next/components/Hr.tsxindex 4584340057..63694a14b6 100644--- a/saleor/static/dashboard-next/components/Hr.tsx+++ b/saleor/static/dashboard-next/components/Hr.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import classNames from "classnames";-import * as React from "react";+import React from "react";interface HrProps {className?: string;diff --git a/saleor/static/dashboard-next/components/IconButtonTableCell/IconButtonTableCell.tsx b/saleor/static/dashboard-next/components/IconButtonTableCell/IconButtonTableCell.tsxindex 558891746a..25bf1fed27 100644--- a/saleor/static/dashboard-next/components/IconButtonTableCell/IconButtonTableCell.tsx+++ b/saleor/static/dashboard-next/components/IconButtonTableCell/IconButtonTableCell.tsx@@ -6,7 +6,7 @@ import {WithStyles} from "@material-ui/core/styles";import TableCell from "@material-ui/core/TableCell";-import * as React from "react";+import React from "react";import { stopPropagation } from "../../misc";import { ICONBUTTON_SIZE } from "../../theme";diff --git a/saleor/static/dashboard-next/components/ImageTile/ImageTile.tsx b/saleor/static/dashboard-next/components/ImageTile/ImageTile.tsxindex deb2c8f93d..e1f320b4ee 100644--- a/saleor/static/dashboard-next/components/ImageTile/ImageTile.tsx+++ b/saleor/static/dashboard-next/components/ImageTile/ImageTile.tsx@@ -4,7 +4,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";diff --git a/saleor/static/dashboard-next/components/ImageUpload/ImageUpload.tsx b/saleor/static/dashboard-next/components/ImageUpload/ImageUpload.tsxindex f6d75eb4dc..92ae657176 100644--- a/saleor/static/dashboard-next/components/ImageUpload/ImageUpload.tsx+++ b/saleor/static/dashboard-next/components/ImageUpload/ImageUpload.tsx@@ -7,7 +7,7 @@ import {import { fade } from "@material-ui/core/styles/colorManipulator";import Typography from "@material-ui/core/Typography";import classNames from "classnames";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import ImageIcon from "../../icons/Image";diff --git a/saleor/static/dashboard-next/components/LanguageSwitch/LanguageSwitch.tsx b/saleor/static/dashboard-next/components/LanguageSwitch/LanguageSwitch.tsxindex 1ec7e5a5ba..c0aa61af23 100644--- a/saleor/static/dashboard-next/components/LanguageSwitch/LanguageSwitch.tsx+++ b/saleor/static/dashboard-next/components/LanguageSwitch/LanguageSwitch.tsx@@ -14,7 +14,7 @@ import {import Typography from "@material-ui/core/Typography";import ArrowDropDown from "@material-ui/icons/ArrowDropDown";import classNames from "classnames";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import { LanguageCodeEnum } from "../../types/globalTypes";diff --git a/saleor/static/dashboard-next/components/Link.tsx b/saleor/static/dashboard-next/components/Link.tsxindex 6ee63d1929..762cd74a86 100644--- a/saleor/static/dashboard-next/components/Link.tsx+++ b/saleor/static/dashboard-next/components/Link.tsx@@ -5,8 +5,8 @@ import {WithStyles} from "@material-ui/core/styles";import Typography, { TypographyProps } from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/ListField/ListField.tsx b/saleor/static/dashboard-next/components/ListField/ListField.tsxindex 67ffc58c9f..ff05b84b65 100644--- a/saleor/static/dashboard-next/components/ListField/ListField.tsx+++ b/saleor/static/dashboard-next/components/ListField/ListField.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField, { StandardTextFieldProps } from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import Chip from "../Chip";diff --git a/saleor/static/dashboard-next/components/Locale/Locale.tsx b/saleor/static/dashboard-next/components/Locale/Locale.tsxindex 05c19a5133..d1d4fd023b 100644--- a/saleor/static/dashboard-next/components/Locale/Locale.tsx+++ b/saleor/static/dashboard-next/components/Locale/Locale.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";export const LocaleContext = React.createContext<string>("en");diff --git a/saleor/static/dashboard-next/components/MenuToggle.tsx b/saleor/static/dashboard-next/components/MenuToggle.tsxindex 54ed5548e2..dc27ecccfc 100644--- a/saleor/static/dashboard-next/components/MenuToggle.tsx+++ b/saleor/static/dashboard-next/components/MenuToggle.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";interface MenuToggleProps {ariaOwns?: string;diff --git a/saleor/static/dashboard-next/components/Money/Money.tsx b/saleor/static/dashboard-next/components/Money/Money.tsxindex 62ba7aaaae..164a34af9a 100644--- a/saleor/static/dashboard-next/components/Money/Money.tsx+++ b/saleor/static/dashboard-next/components/Money/Money.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { LocaleConsumer } from "../Locale";diff --git a/saleor/static/dashboard-next/components/MoneyRange/MoneyRange.tsx b/saleor/static/dashboard-next/components/MoneyRange/MoneyRange.tsxindex c2d1ac1038..afcb8a564d 100644--- a/saleor/static/dashboard-next/components/MoneyRange/MoneyRange.tsx+++ b/saleor/static/dashboard-next/components/MoneyRange/MoneyRange.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import i18n from "../../i18n";import { LocaleConsumer } from "../Locale";diff --git a/saleor/static/dashboard-next/components/MultiAutocompleteSelectField/MultiAutocompleteSelectField.tsx b/saleor/static/dashboard-next/components/MultiAutocompleteSelectField/MultiAutocompleteSelectField.tsxindex ed8d7452f7..0c177fc5ea 100644--- a/saleor/static/dashboard-next/components/MultiAutocompleteSelectField/MultiAutocompleteSelectField.tsx+++ b/saleor/static/dashboard-next/components/MultiAutocompleteSelectField/MultiAutocompleteSelectField.tsx@@ -9,7 +9,7 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Downshift, { ControllerStateAndHelpers } from "downshift";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import ArrowDropdownIcon from "../../icons/ArrowDropdown";diff --git a/saleor/static/dashboard-next/components/MultiSelectField/MultiSelectField.tsx b/saleor/static/dashboard-next/components/MultiSelectField/MultiSelectField.tsxindex 4d11946b70..5fdda787cb 100644--- a/saleor/static/dashboard-next/components/MultiSelectField/MultiSelectField.tsx+++ b/saleor/static/dashboard-next/components/MultiSelectField/MultiSelectField.tsx@@ -10,7 +10,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import Checkbox from "../Checkbox";diff --git a/saleor/static/dashboard-next/components/NotFoundPage/NotFoundPage.tsx b/saleor/static/dashboard-next/components/NotFoundPage/NotFoundPage.tsxindex 7b981e0867..143290c444 100644--- a/saleor/static/dashboard-next/components/NotFoundPage/NotFoundPage.tsx+++ b/saleor/static/dashboard-next/components/NotFoundPage/NotFoundPage.tsx@@ -6,10 +6,10 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import SVG from "react-inlinesvg";-import * as notFoundImage from "../../../images/not-found-404.svg";+import notFoundImage from "../../../images/not-found-404.svg";import i18n from "../../i18n";const styles = (theme: Theme) =>diff --git a/saleor/static/dashboard-next/components/PageHeader/PageHeader.tsx b/saleor/static/dashboard-next/components/PageHeader/PageHeader.tsxindex 8c20e8186c..1fc53ec1c3 100644--- a/saleor/static/dashboard-next/components/PageHeader/PageHeader.tsx+++ b/saleor/static/dashboard-next/components/PageHeader/PageHeader.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import ExtendedPageHeader from "../ExtendedPageHeader";import Skeleton from "../Skeleton";diff --git a/saleor/static/dashboard-next/components/Percent/Percent.tsx b/saleor/static/dashboard-next/components/Percent/Percent.tsxindex dc34ff8a96..ee6ed35e36 100644--- a/saleor/static/dashboard-next/components/Percent/Percent.tsx+++ b/saleor/static/dashboard-next/components/Percent/Percent.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { LocaleConsumer } from "../Locale";diff --git a/saleor/static/dashboard-next/components/PhoneField/PhoneField.tsx b/saleor/static/dashboard-next/components/PhoneField/PhoneField.tsxindex 800b8affb2..0c02678642 100644--- a/saleor/static/dashboard-next/components/PhoneField/PhoneField.tsx+++ b/saleor/static/dashboard-next/components/PhoneField/PhoneField.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import SingleSelectField from "@saleor/components/SingleSelectField";diff --git a/saleor/static/dashboard-next/components/PriceField/PriceField.tsx b/saleor/static/dashboard-next/components/PriceField/PriceField.tsxindex 684da90e24..847ac055d1 100644--- a/saleor/static/dashboard-next/components/PriceField/PriceField.tsx+++ b/saleor/static/dashboard-next/components/PriceField/PriceField.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/ProductList/ProductList.tsx b/saleor/static/dashboard-next/components/ProductList/ProductList.tsxindex 4b760b0d56..ccbe45ffef 100644--- a/saleor/static/dashboard-next/components/ProductList/ProductList.tsx+++ b/saleor/static/dashboard-next/components/ProductList/ProductList.tsx@@ -9,7 +9,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import TableCellAvatar from "@saleor/components/TableCellAvatar";import { CategoryDetails_category_products_edges_node } from "../../categories/types/CategoryDetails";diff --git a/saleor/static/dashboard-next/components/RichTextEditor/ImageEntity.tsx b/saleor/static/dashboard-next/components/RichTextEditor/ImageEntity.tsxindex b676114a55..4bf9721c01 100644--- a/saleor/static/dashboard-next/components/RichTextEditor/ImageEntity.tsx+++ b/saleor/static/dashboard-next/components/RichTextEditor/ImageEntity.tsx@@ -12,7 +12,7 @@ import {} from "@material-ui/core/styles";import DeleteIcon from "@material-ui/icons/Delete";import { ContentState } from "draft-js";-import * as React from "react";+import React from "react";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/RichTextEditor/ImageSource.tsx b/saleor/static/dashboard-next/components/RichTextEditor/ImageSource.tsxindex 698c846ab2..d238bc09f6 100644--- a/saleor/static/dashboard-next/components/RichTextEditor/ImageSource.tsx+++ b/saleor/static/dashboard-next/components/RichTextEditor/ImageSource.tsx@@ -5,7 +5,7 @@ import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";import { AtomicBlockUtils, EditorState, EntityInstance } from "draft-js";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import Form from "../Form";diff --git a/saleor/static/dashboard-next/components/RichTextEditor/LinkEntity.tsx b/saleor/static/dashboard-next/components/RichTextEditor/LinkEntity.tsxindex c84c205da6..ac8080b43b 100644--- a/saleor/static/dashboard-next/components/RichTextEditor/LinkEntity.tsx+++ b/saleor/static/dashboard-next/components/RichTextEditor/LinkEntity.tsx@@ -13,7 +13,7 @@ import {import Typography from "@material-ui/core/Typography";import DeleteIcon from "@material-ui/icons/Delete";import { ContentState } from "draft-js";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import Link from "../Link";diff --git a/saleor/static/dashboard-next/components/RichTextEditor/LinkSource.tsx b/saleor/static/dashboard-next/components/RichTextEditor/LinkSource.tsxindex 3b639fc9a5..bbf17eda0f 100644--- a/saleor/static/dashboard-next/components/RichTextEditor/LinkSource.tsx+++ b/saleor/static/dashboard-next/components/RichTextEditor/LinkSource.tsx@@ -5,7 +5,7 @@ import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";import { EditorState, EntityInstance, RichUtils } from "draft-js";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import Form from "../Form";diff --git a/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx b/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsxindex d9a6501914..2e2b39bdbd 100644--- a/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx+++ b/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx@@ -6,7 +6,7 @@ import {} from "@material-ui/core/styles";import { fade } from "@material-ui/core/styles/colorManipulator";import Typography from "@material-ui/core/Typography";-import * as classNames from "classnames";+import classNames from "classnames";import { RawDraftContentState } from "draft-js";import {BLOCK_TYPE,@@ -14,7 +14,7 @@ import {ENTITY_TYPE,INLINE_STYLE} from "draftail";-import * as React from "react";+import React from "react";import BoldIcon from "../../icons/BoldIcon";import HeaderOne from "../../icons/HeaderOne";diff --git a/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx b/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsxindex 4fb7a8bfc4..8ed381f208 100644--- a/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx+++ b/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import classNames from "classnames";-import * as React from "react";+import React from "react";import useScroll from "@saleor/hooks/useScroll";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/SaveFilterTabDialog/SaveFilterTabDialog.tsx b/saleor/static/dashboard-next/components/SaveFilterTabDialog/SaveFilterTabDialog.tsxindex 0b257873d2..5b26158f34 100644--- a/saleor/static/dashboard-next/components/SaveFilterTabDialog/SaveFilterTabDialog.tsx+++ b/saleor/static/dashboard-next/components/SaveFilterTabDialog/SaveFilterTabDialog.tsx@@ -4,7 +4,7 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import ConfirmButton, { ConfirmButtonTransitionState } from "../ConfirmButton";diff --git a/saleor/static/dashboard-next/components/SeoForm/SeoForm.tsx b/saleor/static/dashboard-next/components/SeoForm/SeoForm.tsxindex c4af34cdc7..25d56ae28f 100644--- a/saleor/static/dashboard-next/components/SeoForm/SeoForm.tsx+++ b/saleor/static/dashboard-next/components/SeoForm/SeoForm.tsx@@ -9,8 +9,8 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import i18n from "../../i18n";import CardTitle from "../CardTitle";diff --git a/saleor/static/dashboard-next/components/Shop/index.tsx b/saleor/static/dashboard-next/components/Shop/index.tsxindex 1c3a017c28..5c9e597993 100644--- a/saleor/static/dashboard-next/components/Shop/index.tsx+++ b/saleor/static/dashboard-next/components/Shop/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { TypedShopInfoQuery } from "./query";import { ShopInfo_shop } from "./types/ShopInfo";diff --git a/saleor/static/dashboard-next/components/SingleAutocompleteSelectField/SingleAutocompleteSelectField.tsx b/saleor/static/dashboard-next/components/SingleAutocompleteSelectField/SingleAutocompleteSelectField.tsxindex 3d798cf65d..74c47c9db0 100644--- a/saleor/static/dashboard-next/components/SingleAutocompleteSelectField/SingleAutocompleteSelectField.tsx+++ b/saleor/static/dashboard-next/components/SingleAutocompleteSelectField/SingleAutocompleteSelectField.tsx@@ -10,7 +10,7 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Downshift from "downshift";-import * as React from "react";+import React from "react";import { compareTwoStrings } from "string-similarity";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/SingleSelectField/SingleSelectField.tsx b/saleor/static/dashboard-next/components/SingleSelectField/SingleSelectField.tsxindex 695c297840..22ee50c970 100644--- a/saleor/static/dashboard-next/components/SingleSelectField/SingleSelectField.tsx+++ b/saleor/static/dashboard-next/components/SingleSelectField/SingleSelectField.tsx@@ -6,7 +6,7 @@ import MenuItem from "@material-ui/core/MenuItem";import Select, { SelectProps } from "@material-ui/core/Select";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import classNames from "classnames";-import * as React from "react";+import React from "react";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/Skeleton.tsx b/saleor/static/dashboard-next/components/Skeleton.tsxindex ef5d8b7ecd..5bcefc1941 100644--- a/saleor/static/dashboard-next/components/Skeleton.tsx+++ b/saleor/static/dashboard-next/components/Skeleton.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import classNames from "classnames";-import * as React from "react";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/StatusLabel/StatusLabel.tsx b/saleor/static/dashboard-next/components/StatusLabel/StatusLabel.tsxindex f3be842dac..267dcb89b8 100644--- a/saleor/static/dashboard-next/components/StatusLabel/StatusLabel.tsx+++ b/saleor/static/dashboard-next/components/StatusLabel/StatusLabel.tsx@@ -6,8 +6,8 @@ import {WithStyles} from "@material-ui/core/styles";import Typography, { TypographyProps } from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";const styles = (theme: Theme) => {const dot = {diff --git a/saleor/static/dashboard-next/components/Tab/Tab.tsx b/saleor/static/dashboard-next/components/Tab/Tab.tsxindex 1b74444e59..595845b1c9 100644--- a/saleor/static/dashboard-next/components/Tab/Tab.tsx+++ b/saleor/static/dashboard-next/components/Tab/Tab.tsx@@ -5,8 +5,8 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/Tab/TabContainer.tsx b/saleor/static/dashboard-next/components/Tab/TabContainer.tsxindex b266e8929e..e7562069f8 100644--- a/saleor/static/dashboard-next/components/Tab/TabContainer.tsx+++ b/saleor/static/dashboard-next/components/Tab/TabContainer.tsx@@ -4,7 +4,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";export interface TabContainerProps {children: React.ReactNode | React.ReactNodeArray;diff --git a/saleor/static/dashboard-next/components/Tab/Tabs.tsx b/saleor/static/dashboard-next/components/Tab/Tabs.tsxindex 5eb09a3ff6..4295530192 100644--- a/saleor/static/dashboard-next/components/Tab/Tabs.tsx+++ b/saleor/static/dashboard-next/components/Tab/Tabs.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";export interface TabsProps {children: (diff --git a/saleor/static/dashboard-next/components/TableCellAvatar/TableCellAvatar.tsx b/saleor/static/dashboard-next/components/TableCellAvatar/TableCellAvatar.tsxindex 369694ff99..7a4bdee9d8 100644--- a/saleor/static/dashboard-next/components/TableCellAvatar/TableCellAvatar.tsx+++ b/saleor/static/dashboard-next/components/TableCellAvatar/TableCellAvatar.tsx@@ -7,8 +7,8 @@ import {} from "@material-ui/core/styles";import TableCell from "@material-ui/core/TableCell";import Cached from "@material-ui/icons/Cached";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import Image from "../../icons/Image";diff --git a/saleor/static/dashboard-next/components/TableFilter/FilterChips.tsx b/saleor/static/dashboard-next/components/TableFilter/FilterChips.tsxindex a5101de022..f75a77d83e 100644--- a/saleor/static/dashboard-next/components/TableFilter/FilterChips.tsx+++ b/saleor/static/dashboard-next/components/TableFilter/FilterChips.tsx@@ -5,7 +5,7 @@ import TextField, { TextFieldProps } from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";import ClearIcon from "@material-ui/icons/Clear";import { createStyles, makeStyles, useTheme } from "@material-ui/styles";-import * as React from "react";+import React from "react";import i18n from "../../i18n";import Filter, { FilterContentSubmitData, IFilter } from "../Filter";diff --git a/saleor/static/dashboard-next/components/TableFilter/FilterTab.tsx b/saleor/static/dashboard-next/components/TableFilter/FilterTab.tsxindex e56e77fc5a..462baf4789 100644--- a/saleor/static/dashboard-next/components/TableFilter/FilterTab.tsx+++ b/saleor/static/dashboard-next/components/TableFilter/FilterTab.tsx@@ -6,7 +6,7 @@ import {} from "@material-ui/core/styles";import Tab from "@material-ui/core/Tab";import classNames from "classnames";-import * as React from "react";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/TableFilter/FilterTabs.tsx b/saleor/static/dashboard-next/components/TableFilter/FilterTabs.tsxindex 380f6ca8fb..ca89529ec7 100644--- a/saleor/static/dashboard-next/components/TableFilter/FilterTabs.tsx+++ b/saleor/static/dashboard-next/components/TableFilter/FilterTabs.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import Tabs from "@material-ui/core/Tabs";-import * as React from "react";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/TableHead/TableHead.tsx b/saleor/static/dashboard-next/components/TableHead/TableHead.tsxindex 5e65c6a5d5..6b0a22be70 100644--- a/saleor/static/dashboard-next/components/TableHead/TableHead.tsx+++ b/saleor/static/dashboard-next/components/TableHead/TableHead.tsx@@ -11,8 +11,8 @@ import MuiTableHead, {} from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";import Typography from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import { Node } from "../../types";diff --git a/saleor/static/dashboard-next/components/TablePagination/TablePagination.tsx b/saleor/static/dashboard-next/components/TablePagination/TablePagination.tsxindex 93d149baad..b5e9553f35 100644--- a/saleor/static/dashboard-next/components/TablePagination/TablePagination.tsx+++ b/saleor/static/dashboard-next/components/TablePagination/TablePagination.tsx@@ -9,7 +9,7 @@ import {} from "@material-ui/core/styles";import TableCell from "@material-ui/core/TableCell";import Toolbar from "@material-ui/core/Toolbar";-import * as React from "react";+import React from "react";import TablePaginationActions from "./TablePaginationActions";diff --git a/saleor/static/dashboard-next/components/TablePagination/TablePaginationActions.tsx b/saleor/static/dashboard-next/components/TablePagination/TablePaginationActions.tsxindex a6ca737156..d60a971744 100644--- a/saleor/static/dashboard-next/components/TablePagination/TablePaginationActions.tsx+++ b/saleor/static/dashboard-next/components/TablePagination/TablePaginationActions.tsx@@ -9,8 +9,8 @@ import { fade } from "@material-ui/core/styles/colorManipulator";import ArrowLeft from "@material-ui/icons/ArrowLeft";import ArrowRight from "@material-ui/icons/ArrowRight";import useTheme from "@saleor/hooks/useTheme";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/components/TextFieldWithChoice/TextFieldWithChoice.tsx b/saleor/static/dashboard-next/components/TextFieldWithChoice/TextFieldWithChoice.tsxindex 07b311710a..cb64f9bc7d 100644--- a/saleor/static/dashboard-next/components/TextFieldWithChoice/TextFieldWithChoice.tsx+++ b/saleor/static/dashboard-next/components/TextFieldWithChoice/TextFieldWithChoice.tsx@@ -8,7 +8,7 @@ import { createStyles, WithStyles, withStyles } from "@material-ui/core/styles";import TextField, { TextFieldProps } from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";import DropdownIcon from "@material-ui/icons/ArrowDropDown";-import * as React from "react";+import React from "react";import MenuToggle from "../MenuToggle";diff --git a/saleor/static/dashboard-next/components/Theme/ThemeProvider.tsx b/saleor/static/dashboard-next/components/Theme/ThemeProvider.tsxindex 71abbcc570..72757031e7 100644--- a/saleor/static/dashboard-next/components/Theme/ThemeProvider.tsx+++ b/saleor/static/dashboard-next/components/Theme/ThemeProvider.tsx@@ -1,7 +1,7 @@// FIXME: https://github.com/mirumee/saleor/issues/4174import OldMuiThemeProvider from "@material-ui/core/styles/MuiThemeProvider";import MuiThemeProvider from "@material-ui/styles/ThemeProvider";-import * as React from "react";+import React from "react";import Baseline from "../../Baseline";import createTheme, { IThemeColors } from "../../theme";diff --git a/saleor/static/dashboard-next/components/Timeline/Timeline.tsx b/saleor/static/dashboard-next/components/Timeline/Timeline.tsxindex 8591932d82..61e5fd72c8 100644--- a/saleor/static/dashboard-next/components/Timeline/Timeline.tsx+++ b/saleor/static/dashboard-next/components/Timeline/Timeline.tsx@@ -10,7 +10,7 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import PersonIcon from "@material-ui/icons/Person";-import * as React from "react";+import React from "react";import i18n from "../../i18n";diff --git a/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx b/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsxindex 6e2ccd86e7..f3dd630ac0 100644--- a/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx+++ b/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx@@ -9,7 +9,7 @@ import {} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";import ExpandMoreIcon from "@material-ui/icons/ExpandMore";-import * as React from "react";+import React from "react";import { DateTime } from "../Date";diff --git a/saleor/static/dashboard-next/components/Timeline/TimelineNote.tsx b/saleor/static/dashboard-next/components/Timeline/TimelineNote.tsxindex 4059a7bd6c..35147ec4f1 100644--- a/saleor/static/dashboard-next/components/Timeline/TimelineNote.tsx+++ b/saleor/static/dashboard-next/components/Timeline/TimelineNote.tsx@@ -1,7 +1,7 @@import Avatar from "@material-ui/core/Avatar";import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";-import * as colors from "@material-ui/core/colors";+import colors from "@material-ui/core/colors";import {createStyles,Theme,@@ -10,8 +10,8 @@ import {} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";import PersonIcon from "@material-ui/icons/Person";-import * as CRC from "crc-32";-import * as React from "react";+import CRC from "crc-32";+import React from "react";import { DateTime } from "../Date";import Hr from "../Hr";diff --git a/saleor/static/dashboard-next/components/Timezone/Timezone.tsx b/saleor/static/dashboard-next/components/Timezone/Timezone.tsxindex 2690b5d7a6..4891be902c 100644--- a/saleor/static/dashboard-next/components/Timezone/Timezone.tsx+++ b/saleor/static/dashboard-next/components/Timezone/Timezone.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";export const TimezoneContext = React.createContext<string>(undefined);const {diff --git a/saleor/static/dashboard-next/components/VisibilityCard/VisibilityCard.tsx b/saleor/static/dashboard-next/components/VisibilityCard/VisibilityCard.tsxindex 5600ff2d3d..6cb01c8534 100644--- a/saleor/static/dashboard-next/components/VisibilityCard/VisibilityCard.tsx+++ b/saleor/static/dashboard-next/components/VisibilityCard/VisibilityCard.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import ControlledSwitch from "@saleor/components/ControlledSwitch";diff --git a/saleor/static/dashboard-next/components/Weight/Weight.tsx b/saleor/static/dashboard-next/components/Weight/Weight.tsxindex 35defbf0b5..02988b911c 100644--- a/saleor/static/dashboard-next/components/Weight/Weight.tsx+++ b/saleor/static/dashboard-next/components/Weight/Weight.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import i18n from "../../i18n";export interface Weight {diff --git a/saleor/static/dashboard-next/components/WeightRange/WeightRange.tsx b/saleor/static/dashboard-next/components/WeightRange/WeightRange.tsxindex 2552fae688..c7a789527a 100644--- a/saleor/static/dashboard-next/components/WeightRange/WeightRange.tsx+++ b/saleor/static/dashboard-next/components/WeightRange/WeightRange.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import i18n from "../../i18n";import { Weight } from "../Weight";diff --git a/saleor/static/dashboard-next/components/WindowTitle/index.tsx b/saleor/static/dashboard-next/components/WindowTitle/index.tsxindex 63c99f54ba..a06c2cd183 100644--- a/saleor/static/dashboard-next/components/WindowTitle/index.tsx+++ b/saleor/static/dashboard-next/components/WindowTitle/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { Helmet } from "react-helmet";import useShop from "@saleor/hooks/useShop";diff --git a/saleor/static/dashboard-next/components/messages/MessageManager.tsx b/saleor/static/dashboard-next/components/messages/MessageManager.tsxindex b698d0dc3e..12bce2e46f 100644--- a/saleor/static/dashboard-next/components/messages/MessageManager.tsx+++ b/saleor/static/dashboard-next/components/messages/MessageManager.tsx@@ -2,7 +2,7 @@ import Button from "@material-ui/core/Button";import IconButton from "@material-ui/core/IconButton";import Snackbar from "@material-ui/core/Snackbar";import CloseIcon from "@material-ui/icons/Close";-import * as React from "react";+import React from "react";import { IMessage, MessageContext } from "./";diff --git a/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx b/saleor/static/dashboard-next/configuration/ConfigurationPage.tsxindex 8466c11c0e..48463ae22d 100644--- a/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx+++ b/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import { IconProps } from "@material-ui/core/Icon";import { User } from "../auth/types/User";diff --git a/saleor/static/dashboard-next/configuration/index.tsx b/saleor/static/dashboard-next/configuration/index.tsxindex 78a406ee2d..9eeeb747e2 100644--- a/saleor/static/dashboard-next/configuration/index.tsx+++ b/saleor/static/dashboard-next/configuration/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useUser from "@saleor/hooks/useUser";diff --git a/saleor/static/dashboard-next/containers/BaseSearch.tsx b/saleor/static/dashboard-next/containers/BaseSearch.tsxindex 920d542d78..0742edbc1c 100644--- a/saleor/static/dashboard-next/containers/BaseSearch.tsx+++ b/saleor/static/dashboard-next/containers/BaseSearch.tsx@@ -1,5 +1,5 @@import { DocumentNode } from "graphql";-import * as React from "react";+import React from "react";import Debounce from "../components/Debounce";import { TypedQuery, TypedQueryResult } from "../queries";diff --git a/saleor/static/dashboard-next/customers/components/CustomerAddress/CustomerAddress.tsx b/saleor/static/dashboard-next/customers/components/CustomerAddress/CustomerAddress.tsxindex a54e155759..3cd7fbaec3 100644--- a/saleor/static/dashboard-next/customers/components/CustomerAddress/CustomerAddress.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerAddress/CustomerAddress.tsx@@ -4,7 +4,7 @@ import CardActions from "@material-ui/core/CardActions";import CardContent from "@material-ui/core/CardContent";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import AddressFormatter from "@saleor/components/AddressFormatter";import CardMenu from "@saleor/components/CardMenu";diff --git a/saleor/static/dashboard-next/customers/components/CustomerAddressDialog/CustomerAddressDialog.tsx b/saleor/static/dashboard-next/customers/components/CustomerAddressDialog/CustomerAddressDialog.tsxindex b7dca9f12f..dd2d77d809 100644--- a/saleor/static/dashboard-next/customers/components/CustomerAddressDialog/CustomerAddressDialog.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerAddressDialog/CustomerAddressDialog.tsx@@ -5,7 +5,7 @@ import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import AddressEdit from "@saleor/components/AddressEdit";import ConfirmButton, {diff --git a/saleor/static/dashboard-next/customers/components/CustomerAddressListPage/CustomerAddressListPage.tsx b/saleor/static/dashboard-next/customers/components/CustomerAddressListPage/CustomerAddressListPage.tsxindex e6df42c582..16817416a6 100644--- a/saleor/static/dashboard-next/customers/components/CustomerAddressListPage/CustomerAddressListPage.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerAddressListPage/CustomerAddressListPage.tsx@@ -7,7 +7,7 @@ import {} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/customers/components/CustomerAddresses/CustomerAddresses.tsx b/saleor/static/dashboard-next/customers/components/CustomerAddresses/CustomerAddresses.tsxindex ddc0ef85f1..54e1a28bf3 100644--- a/saleor/static/dashboard-next/customers/components/CustomerAddresses/CustomerAddresses.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerAddresses/CustomerAddresses.tsx@@ -8,7 +8,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import AddressFormatter from "@saleor/components/AddressFormatter";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/customers/components/CustomerCreateAddress/CustomerCreateAddress.tsx b/saleor/static/dashboard-next/customers/components/CustomerCreateAddress/CustomerCreateAddress.tsxindex c5ce829bdb..eb4e13fc7a 100644--- a/saleor/static/dashboard-next/customers/components/CustomerCreateAddress/CustomerCreateAddress.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerCreateAddress/CustomerCreateAddress.tsx@@ -2,7 +2,7 @@ import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import { createStyles, WithStyles, withStyles } from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import AddressEdit from "@saleor/components/AddressEdit";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/customers/components/CustomerCreateDetails/CustomerCreateDetails.tsx b/saleor/static/dashboard-next/customers/components/CustomerCreateDetails/CustomerCreateDetails.tsxindex e57113dc57..db1ffec62c 100644--- a/saleor/static/dashboard-next/customers/components/CustomerCreateDetails/CustomerCreateDetails.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerCreateDetails/CustomerCreateDetails.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/customers/components/CustomerCreateNote/CustomerCreateNote.tsx b/saleor/static/dashboard-next/customers/components/CustomerCreateNote/CustomerCreateNote.tsxindex f90e27cb69..e40d3bd48b 100644--- a/saleor/static/dashboard-next/customers/components/CustomerCreateNote/CustomerCreateNote.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerCreateNote/CustomerCreateNote.tsx@@ -2,7 +2,7 @@ import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { FormSpacer } from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/customers/components/CustomerCreatePage/CustomerCreatePage.tsx b/saleor/static/dashboard-next/customers/components/CustomerCreatePage/CustomerCreatePage.tsxindex 54e3160020..1894148a61 100644--- a/saleor/static/dashboard-next/customers/components/CustomerCreatePage/CustomerCreatePage.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerCreatePage/CustomerCreatePage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { CardSpacer } from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/customers/components/CustomerDetails/CustomerDetails.tsx b/saleor/static/dashboard-next/customers/components/CustomerDetails/CustomerDetails.tsxindex d6f7693e07..c564a56fef 100644--- a/saleor/static/dashboard-next/customers/components/CustomerDetails/CustomerDetails.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerDetails/CustomerDetails.tsx@@ -8,8 +8,8 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as moment from "moment-timezone";-import * as React from "react";+import moment from "moment-timezone";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { ControlledCheckbox } from "@saleor/components/ControlledCheckbox";diff --git a/saleor/static/dashboard-next/customers/components/CustomerDetailsPage/CustomerDetailsPage.tsx b/saleor/static/dashboard-next/customers/components/CustomerDetailsPage/CustomerDetailsPage.tsxindex 041c0fe50b..1e417f960b 100644--- a/saleor/static/dashboard-next/customers/components/CustomerDetailsPage/CustomerDetailsPage.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerDetailsPage/CustomerDetailsPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { CardSpacer } from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/customers/components/CustomerList/CustomerList.tsx b/saleor/static/dashboard-next/customers/components/CustomerList/CustomerList.tsxindex 2dfb350218..8e2b1f17f1 100644--- a/saleor/static/dashboard-next/customers/components/CustomerList/CustomerList.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerList/CustomerList.tsx@@ -10,7 +10,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/customers/components/CustomerListPage/CustomerListPage.tsx b/saleor/static/dashboard-next/customers/components/CustomerListPage/CustomerListPage.tsxindex d240eec344..74e5aa6f3f 100644--- a/saleor/static/dashboard-next/customers/components/CustomerListPage/CustomerListPage.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerListPage/CustomerListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import Container from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/customers/components/CustomerOrders/CustomerOrders.tsx b/saleor/static/dashboard-next/customers/components/CustomerOrders/CustomerOrders.tsxindex 25c22bbd17..f6883ca348 100644--- a/saleor/static/dashboard-next/customers/components/CustomerOrders/CustomerOrders.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerOrders/CustomerOrders.tsx@@ -6,7 +6,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { DateTime } from "@saleor/components/Date";diff --git a/saleor/static/dashboard-next/customers/components/CustomerStats/CustomerStats.tsx b/saleor/static/dashboard-next/customers/components/CustomerStats/CustomerStats.tsxindex 58ca6d18f8..1a2a0b4a63 100644--- a/saleor/static/dashboard-next/customers/components/CustomerStats/CustomerStats.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerStats/CustomerStats.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { DateTime } from "@saleor/components/Date";diff --git a/saleor/static/dashboard-next/customers/index.tsx b/saleor/static/dashboard-next/customers/index.tsxindex b06576887b..7ea77efdab 100644--- a/saleor/static/dashboard-next/customers/index.tsx+++ b/saleor/static/dashboard-next/customers/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/customers/urls.ts b/saleor/static/dashboard-next/customers/urls.tsindex 53662c0f5b..baab66be7d 100644--- a/saleor/static/dashboard-next/customers/urls.ts+++ b/saleor/static/dashboard-next/customers/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { BulkAction, Dialog, Pagination, SingleAction } from "../types";diff --git a/saleor/static/dashboard-next/customers/views/CustomerAddresses.tsx b/saleor/static/dashboard-next/customers/views/CustomerAddresses.tsxindex 5e968036b0..bbb4fb0dc5 100644--- a/saleor/static/dashboard-next/customers/views/CustomerAddresses.tsx+++ b/saleor/static/dashboard-next/customers/views/CustomerAddresses.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { WindowTitle } from "@saleor/components/WindowTitle";diff --git a/saleor/static/dashboard-next/customers/views/CustomerCreate.tsx b/saleor/static/dashboard-next/customers/views/CustomerCreate.tsxindex 62d83e07da..f89a867d68 100644--- a/saleor/static/dashboard-next/customers/views/CustomerCreate.tsx+++ b/saleor/static/dashboard-next/customers/views/CustomerCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/customers/views/CustomerDetails.tsx b/saleor/static/dashboard-next/customers/views/CustomerDetails.tsxindex e6e9ab6aa1..d1e1b57b56 100644--- a/saleor/static/dashboard-next/customers/views/CustomerDetails.tsx+++ b/saleor/static/dashboard-next/customers/views/CustomerDetails.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { WindowTitle } from "@saleor/components/WindowTitle";diff --git a/saleor/static/dashboard-next/customers/views/CustomerList.tsx b/saleor/static/dashboard-next/customers/views/CustomerList.tsxindex 6961261af1..443dc1e9ce 100644--- a/saleor/static/dashboard-next/customers/views/CustomerList.tsx+++ b/saleor/static/dashboard-next/customers/views/CustomerList.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useBulkActions from "@saleor/hooks/useBulkActions";diff --git a/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx b/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsxindex a608481f51..7c0a1a6ed2 100644--- a/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx+++ b/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx@@ -13,7 +13,7 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Checkbox from "@saleor/components/Checkbox";diff --git a/saleor/static/dashboard-next/discounts/components/DiscountCollections/DiscountCollections.tsx b/saleor/static/dashboard-next/discounts/components/DiscountCollections/DiscountCollections.tsxindex ec1f7900ec..e5b0eff8a1 100644--- a/saleor/static/dashboard-next/discounts/components/DiscountCollections/DiscountCollections.tsx+++ b/saleor/static/dashboard-next/discounts/components/DiscountCollections/DiscountCollections.tsx@@ -13,7 +13,7 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Checkbox from "@saleor/components/Checkbox";diff --git a/saleor/static/dashboard-next/discounts/components/DiscountCountrySelectDialog/DiscountCountrySelectDialog.tsx b/saleor/static/dashboard-next/discounts/components/DiscountCountrySelectDialog/DiscountCountrySelectDialog.tsxindex 3a5aadaeca..58a650be31 100644--- a/saleor/static/dashboard-next/discounts/components/DiscountCountrySelectDialog/DiscountCountrySelectDialog.tsx+++ b/saleor/static/dashboard-next/discounts/components/DiscountCountrySelectDialog/DiscountCountrySelectDialog.tsx@@ -16,7 +16,7 @@ import TableRow from "@material-ui/core/TableRow";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";import { filter } from "fuzzaldrin";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import ConfirmButton, {diff --git a/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx b/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsxindex 3df6478f19..5fe3933958 100644--- a/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx+++ b/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx@@ -13,7 +13,7 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Checkbox from "@saleor/components/Checkbox";diff --git a/saleor/static/dashboard-next/discounts/components/SaleCreatePage/SaleCreatePage.tsx b/saleor/static/dashboard-next/discounts/components/SaleCreatePage/SaleCreatePage.tsxindex d5dd1945d1..04bff4adba 100644--- a/saleor/static/dashboard-next/discounts/components/SaleCreatePage/SaleCreatePage.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleCreatePage/SaleCreatePage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/discounts/components/SaleDetailsPage/SaleDetailsPage.tsx b/saleor/static/dashboard-next/discounts/components/SaleDetailsPage/SaleDetailsPage.tsxindex d760c43f06..1ac92d0253 100644--- a/saleor/static/dashboard-next/discounts/components/SaleDetailsPage/SaleDetailsPage.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleDetailsPage/SaleDetailsPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/discounts/components/SaleInfo/SaleInfo.tsx b/saleor/static/dashboard-next/discounts/components/SaleInfo/SaleInfo.tsxindex 606cf94a6f..2b7a646ffa 100644--- a/saleor/static/dashboard-next/discounts/components/SaleInfo/SaleInfo.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleInfo/SaleInfo.tsx@@ -7,7 +7,7 @@ import {withStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/discounts/components/SaleList/SaleList.tsx b/saleor/static/dashboard-next/discounts/components/SaleList/SaleList.tsxindex 80a174b366..42169f3d67 100644--- a/saleor/static/dashboard-next/discounts/components/SaleList/SaleList.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleList/SaleList.tsx@@ -10,7 +10,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import Date from "@saleor/components/Date";diff --git a/saleor/static/dashboard-next/discounts/components/SaleListPage/SaleListPage.tsx b/saleor/static/dashboard-next/discounts/components/SaleListPage/SaleListPage.tsxindex 0d49e9c222..dcfdc126d6 100644--- a/saleor/static/dashboard-next/discounts/components/SaleListPage/SaleListPage.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleListPage/SaleListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import Container from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/discounts/components/SalePricing/SalePricing.tsx b/saleor/static/dashboard-next/discounts/components/SalePricing/SalePricing.tsxindex 45eb60472f..2aed0a2d9b 100644--- a/saleor/static/dashboard-next/discounts/components/SalePricing/SalePricing.tsx+++ b/saleor/static/dashboard-next/discounts/components/SalePricing/SalePricing.tsx@@ -8,7 +8,7 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Hr from "@saleor/components/Hr";diff --git a/saleor/static/dashboard-next/discounts/components/SaleSummary/SaleSummary.tsx b/saleor/static/dashboard-next/discounts/components/SaleSummary/SaleSummary.tsxindex 5cfa73db87..939b291c95 100644--- a/saleor/static/dashboard-next/discounts/components/SaleSummary/SaleSummary.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleSummary/SaleSummary.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardSpacer from "@saleor/components/CardSpacer";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/discounts/components/VoucherCreatePage/VoucherCreatePage.tsx b/saleor/static/dashboard-next/discounts/components/VoucherCreatePage/VoucherCreatePage.tsxindex 55946a0d9b..ad3a5de74a 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherCreatePage/VoucherCreatePage.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherCreatePage/VoucherCreatePage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsx b/saleor/static/dashboard-next/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsxindex ca0f3db8a8..d24463e252 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsx@@ -1,5 +1,5 @@import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/discounts/components/VoucherInfo/VoucherInfo.tsx b/saleor/static/dashboard-next/discounts/components/VoucherInfo/VoucherInfo.tsxindex 7395fe33fe..e6ff5d478d 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherInfo/VoucherInfo.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherInfo/VoucherInfo.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import FormSpacer from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/discounts/components/VoucherList/VoucherList.tsx b/saleor/static/dashboard-next/discounts/components/VoucherList/VoucherList.tsxindex f18df8d5a2..a5e53dfeb7 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherList/VoucherList.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherList/VoucherList.tsx@@ -10,7 +10,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import Date from "@saleor/components/Date";diff --git a/saleor/static/dashboard-next/discounts/components/VoucherListPage/VoucherListPage.tsx b/saleor/static/dashboard-next/discounts/components/VoucherListPage/VoucherListPage.tsxindex cf40fff3fc..72cc4f4f2f 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherListPage/VoucherListPage.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherListPage/VoucherListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import Container from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/discounts/components/VoucherOptions/VoucherOptions.tsx b/saleor/static/dashboard-next/discounts/components/VoucherOptions/VoucherOptions.tsxindex 7fc4915a35..81c55f9bd3 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherOptions/VoucherOptions.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherOptions/VoucherOptions.tsx@@ -8,8 +8,8 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as moment from "moment-timezone";-import * as React from "react";+import moment from "moment-timezone";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import ControlledSwitch from "@saleor/components/ControlledSwitch";diff --git a/saleor/static/dashboard-next/discounts/components/VoucherSummary/VoucherSummary.tsx b/saleor/static/dashboard-next/discounts/components/VoucherSummary/VoucherSummary.tsxindex e3035f126e..ec81e3a25c 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherSummary/VoucherSummary.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherSummary/VoucherSummary.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardSpacer from "@saleor/components/CardSpacer";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/discounts/fixtures.ts b/saleor/static/dashboard-next/discounts/fixtures.tsindex 4756261ca7..e84117d133 100644--- a/saleor/static/dashboard-next/discounts/fixtures.ts+++ b/saleor/static/dashboard-next/discounts/fixtures.ts@@ -1,4 +1,4 @@-import * as placeholderImage from "../../images/placeholder60x60.png";+import placeholderImage from "../../images/placeholder60x60.png";import {SaleType,VoucherDiscountValueType,diff --git a/saleor/static/dashboard-next/discounts/index.tsx b/saleor/static/dashboard-next/discounts/index.tsxindex 40d4ba0b8a..81d336ff44 100644--- a/saleor/static/dashboard-next/discounts/index.tsx+++ b/saleor/static/dashboard-next/discounts/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/discounts/urls.ts b/saleor/static/dashboard-next/discounts/urls.tsindex a33556ed88..0e3833d99e 100644--- a/saleor/static/dashboard-next/discounts/urls.ts+++ b/saleor/static/dashboard-next/discounts/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { ActiveTab, BulkAction, Dialog, Pagination } from "../types";import { SaleDetailsPageTab } from "./components/SaleDetailsPage";diff --git a/saleor/static/dashboard-next/discounts/views/SaleCreate.tsx b/saleor/static/dashboard-next/discounts/views/SaleCreate.tsxindex eb5a55f801..445a07bbc2 100644--- a/saleor/static/dashboard-next/discounts/views/SaleCreate.tsx+++ b/saleor/static/dashboard-next/discounts/views/SaleCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/discounts/views/SaleDetails.tsx b/saleor/static/dashboard-next/discounts/views/SaleDetails.tsxindex b0a3c473fd..cc50292eda 100644--- a/saleor/static/dashboard-next/discounts/views/SaleDetails.tsx+++ b/saleor/static/dashboard-next/discounts/views/SaleDetails.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import AssignCategoriesDialog from "@saleor/components/AssignCategoryDialog";diff --git a/saleor/static/dashboard-next/discounts/views/SaleList.tsx b/saleor/static/dashboard-next/discounts/views/SaleList.tsxindex 97e1a302e4..b51ba16f92 100644--- a/saleor/static/dashboard-next/discounts/views/SaleList.tsx+++ b/saleor/static/dashboard-next/discounts/views/SaleList.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { WindowTitle } from "@saleor/components/WindowTitle";diff --git a/saleor/static/dashboard-next/discounts/views/VoucherCreate.tsx b/saleor/static/dashboard-next/discounts/views/VoucherCreate.tsxindex 00efa12100..331a6a6dbd 100644--- a/saleor/static/dashboard-next/discounts/views/VoucherCreate.tsx+++ b/saleor/static/dashboard-next/discounts/views/VoucherCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/discounts/views/VoucherDetails.tsx b/saleor/static/dashboard-next/discounts/views/VoucherDetails.tsxindex d406bd495c..fd663aed73 100644--- a/saleor/static/dashboard-next/discounts/views/VoucherDetails.tsx+++ b/saleor/static/dashboard-next/discounts/views/VoucherDetails.tsx@@ -1,7 +1,7 @@import Button from "@material-ui/core/Button";import DialogContentText from "@material-ui/core/DialogContentText";-import * as moment from "moment-timezone";-import * as React from "react";+import moment from "moment-timezone";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import AssignCategoriesDialog from "@saleor/components/AssignCategoryDialog";diff --git a/saleor/static/dashboard-next/discounts/views/VoucherList.tsx b/saleor/static/dashboard-next/discounts/views/VoucherList.tsxindex e8ca0d4048..8d5949a302 100644--- a/saleor/static/dashboard-next/discounts/views/VoucherList.tsx+++ b/saleor/static/dashboard-next/discounts/views/VoucherList.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { WindowTitle } from "@saleor/components/WindowTitle";diff --git a/saleor/static/dashboard-next/home/components/HomeActivityCard/HomeActivityCard.tsx b/saleor/static/dashboard-next/home/components/HomeActivityCard/HomeActivityCard.tsxindex f28f72deda..6062878eda 100644--- a/saleor/static/dashboard-next/home/components/HomeActivityCard/HomeActivityCard.tsx+++ b/saleor/static/dashboard-next/home/components/HomeActivityCard/HomeActivityCard.tsx@@ -4,7 +4,7 @@ import ListItem from "@material-ui/core/ListItem";import ListItemText from "@material-ui/core/ListItemText";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { DateTime } from "@saleor/components/Date";diff --git a/saleor/static/dashboard-next/home/components/HomeAnalyticsCard/HomeAnalyticsCard.tsx b/saleor/static/dashboard-next/home/components/HomeAnalyticsCard/HomeAnalyticsCard.tsxindex faafc0a2e7..3d509b5a3b 100644--- a/saleor/static/dashboard-next/home/components/HomeAnalyticsCard/HomeAnalyticsCard.tsx+++ b/saleor/static/dashboard-next/home/components/HomeAnalyticsCard/HomeAnalyticsCard.tsx@@ -8,7 +8,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/home/components/HomeHeader/HomeHeader.tsx b/saleor/static/dashboard-next/home/components/HomeHeader/HomeHeader.tsxindex ff692eb2ac..30c746f1b4 100644--- a/saleor/static/dashboard-next/home/components/HomeHeader/HomeHeader.tsx+++ b/saleor/static/dashboard-next/home/components/HomeHeader/HomeHeader.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import Skeleton from "@saleor/components/Skeleton";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/home/components/HomeNotificationTable/HomeNotificationTable.tsx b/saleor/static/dashboard-next/home/components/HomeNotificationTable/HomeNotificationTable.tsxindex 752ca3032e..cca7c0886a 100644--- a/saleor/static/dashboard-next/home/components/HomeNotificationTable/HomeNotificationTable.tsx+++ b/saleor/static/dashboard-next/home/components/HomeNotificationTable/HomeNotificationTable.tsx@@ -11,7 +11,7 @@ import TableCell from "@material-ui/core/TableCell";import TableRow from "@material-ui/core/TableRow";import Typography from "@material-ui/core/Typography";import KeyboardArrowRight from "@material-ui/icons/KeyboardArrowRight";-import * as React from "react";+import React from "react";import Skeleton from "@saleor/components/Skeleton";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsxindex af26fe46f0..1607ee20fa 100644--- a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx+++ b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx@@ -4,7 +4,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import CardSpacer from "@saleor/components/CardSpacer";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/home/components/HomeProductListCard/HomeProductListCard.tsx b/saleor/static/dashboard-next/home/components/HomeProductListCard/HomeProductListCard.tsxindex d6783210a8..3cd4bdd6a4 100644--- a/saleor/static/dashboard-next/home/components/HomeProductListCard/HomeProductListCard.tsx+++ b/saleor/static/dashboard-next/home/components/HomeProductListCard/HomeProductListCard.tsx@@ -10,8 +10,8 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableRow from "@material-ui/core/TableRow";import Typography from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Money from "@saleor/components/Money";diff --git a/saleor/static/dashboard-next/home/components/HomeScreen.tsx b/saleor/static/dashboard-next/home/components/HomeScreen.tsxindex 9c30edce07..06a801b2ce 100644--- a/saleor/static/dashboard-next/home/components/HomeScreen.tsx+++ b/saleor/static/dashboard-next/home/components/HomeScreen.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/home/index.tsx b/saleor/static/dashboard-next/home/index.tsxindex e7520f23f5..df012335c1 100644--- a/saleor/static/dashboard-next/home/index.tsx+++ b/saleor/static/dashboard-next/home/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import HomePage from "./views";diff --git a/saleor/static/dashboard-next/home/views/index.tsx b/saleor/static/dashboard-next/home/views/index.tsxindex b0a06a884b..116175d7c5 100644--- a/saleor/static/dashboard-next/home/views/index.tsx+++ b/saleor/static/dashboard-next/home/views/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useUser from "@saleor/hooks/useUser";diff --git a/saleor/static/dashboard-next/hooks/useDateLocalize.ts b/saleor/static/dashboard-next/hooks/useDateLocalize.tsindex 88426f5200..3ef7cb9eff 100644--- a/saleor/static/dashboard-next/hooks/useDateLocalize.ts+++ b/saleor/static/dashboard-next/hooks/useDateLocalize.ts@@ -1,4 +1,4 @@-import * as moment from "moment-timezone";+import moment from "moment-timezone";import { useContext } from "react";import { LocaleContext } from "@saleor/components/Locale";diff --git a/saleor/static/dashboard-next/hooks/useScroll.ts b/saleor/static/dashboard-next/hooks/useScroll.tsindex 355ae5e5e8..6e871b8c23 100644--- a/saleor/static/dashboard-next/hooks/useScroll.ts+++ b/saleor/static/dashboard-next/hooks/useScroll.ts@@ -1,5 +1,4 @@-// tslint:disable:no-submodule-imports-import * as throttle from "lodash/throttle";+import throttle from "lodash-es/throttle";import { useEffect, useState } from "react";function getPosition() {diff --git a/saleor/static/dashboard-next/i18n.ts b/saleor/static/dashboard-next/i18n.tsindex d15b0883bf..91d59c28c0 100644--- a/saleor/static/dashboard-next/i18n.ts+++ b/saleor/static/dashboard-next/i18n.ts@@ -1,6 +1,6 @@-import * as i18n from "i18next";-import * as LanguageDetector from "i18next-browser-languagedetector";-import * as XHR from "i18next-xhr-backend";+import i18n from "i18next";+import LanguageDetector from "i18next-browser-languagedetector";+import XHR from "i18next-xhr-backend";i18n.use(XHR);i18n.use(LanguageDetector);diff --git a/saleor/static/dashboard-next/icons/AccountCircle.tsx b/saleor/static/dashboard-next/icons/AccountCircle.tsxindex 49eae5c1ef..efe95777ef 100644--- a/saleor/static/dashboard-next/icons/AccountCircle.tsx+++ b/saleor/static/dashboard-next/icons/AccountCircle.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const AccountCircle = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/ArrowDropdown.tsx b/saleor/static/dashboard-next/icons/ArrowDropdown.tsxindex e8f324da36..a072df4959 100644--- a/saleor/static/dashboard-next/icons/ArrowDropdown.tsx+++ b/saleor/static/dashboard-next/icons/ArrowDropdown.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const NoPhoto = createSvgIcon(<g style={{ fillRule: "evenodd" }}>diff --git a/saleor/static/dashboard-next/icons/Ballot.tsx b/saleor/static/dashboard-next/icons/Ballot.tsxindex d5dfb8afe6..587c3379ce 100644--- a/saleor/static/dashboard-next/icons/Ballot.tsx+++ b/saleor/static/dashboard-next/icons/Ballot.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Ballot = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/BoldIcon.tsx b/saleor/static/dashboard-next/icons/BoldIcon.tsxindex ae22592b2b..56a480e568 100644--- a/saleor/static/dashboard-next/icons/BoldIcon.tsx+++ b/saleor/static/dashboard-next/icons/BoldIcon.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const BoldIcon = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Calendar.tsx b/saleor/static/dashboard-next/icons/Calendar.tsxindex a67c5e60e5..c7250b42dc 100644--- a/saleor/static/dashboard-next/icons/Calendar.tsx+++ b/saleor/static/dashboard-next/icons/Calendar.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Calendar = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Draggable.tsx b/saleor/static/dashboard-next/icons/Draggable.tsxindex 948ef738ed..cdaad7d5e9 100644--- a/saleor/static/dashboard-next/icons/Draggable.tsx+++ b/saleor/static/dashboard-next/icons/Draggable.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Draggable = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Folder.tsx b/saleor/static/dashboard-next/icons/Folder.tsxindex f9e6bdb5de..74a16ed95f 100644--- a/saleor/static/dashboard-next/icons/Folder.tsx+++ b/saleor/static/dashboard-next/icons/Folder.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Folder = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/HeaderOne.tsx b/saleor/static/dashboard-next/icons/HeaderOne.tsxindex 31409752fe..0d0d9eb073 100644--- a/saleor/static/dashboard-next/icons/HeaderOne.tsx+++ b/saleor/static/dashboard-next/icons/HeaderOne.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const HeaderOne = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/HeaderThree.tsx b/saleor/static/dashboard-next/icons/HeaderThree.tsxindex 8544d68ec4..f334952745 100644--- a/saleor/static/dashboard-next/icons/HeaderThree.tsx+++ b/saleor/static/dashboard-next/icons/HeaderThree.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const HeaderThree = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/HeaderTwo.tsx b/saleor/static/dashboard-next/icons/HeaderTwo.tsxindex 8a9b4d2893..f2775da8f8 100644--- a/saleor/static/dashboard-next/icons/HeaderTwo.tsx+++ b/saleor/static/dashboard-next/icons/HeaderTwo.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const HeaderTwo = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Home.tsx b/saleor/static/dashboard-next/icons/Home.tsxindex 1e574e556d..91b1fd8a7d 100644--- a/saleor/static/dashboard-next/icons/Home.tsx+++ b/saleor/static/dashboard-next/icons/Home.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Home = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Image.tsx b/saleor/static/dashboard-next/icons/Image.tsxindex 3ff31d9622..458cbc3c96 100644--- a/saleor/static/dashboard-next/icons/Image.tsx+++ b/saleor/static/dashboard-next/icons/Image.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Image = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/ItalicIcon.tsx b/saleor/static/dashboard-next/icons/ItalicIcon.tsxindex ced567f029..eb750528a7 100644--- a/saleor/static/dashboard-next/icons/ItalicIcon.tsx+++ b/saleor/static/dashboard-next/icons/ItalicIcon.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const ItalicIcon = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/LinkIcon.tsx b/saleor/static/dashboard-next/icons/LinkIcon.tsxindex adfd37b6fe..0865ae2a0f 100644--- a/saleor/static/dashboard-next/icons/LinkIcon.tsx+++ b/saleor/static/dashboard-next/icons/LinkIcon.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const LinkIcon = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/LocalShipping.tsx b/saleor/static/dashboard-next/icons/LocalShipping.tsxindex b0440c68eb..6eab76ef38 100644--- a/saleor/static/dashboard-next/icons/LocalShipping.tsx+++ b/saleor/static/dashboard-next/icons/LocalShipping.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const LocalShipping = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Monetization.tsx b/saleor/static/dashboard-next/icons/Monetization.tsxindex 1dd34af670..b315a839d4 100644--- a/saleor/static/dashboard-next/icons/Monetization.tsx+++ b/saleor/static/dashboard-next/icons/Monetization.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Monetization = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Moon.tsx b/saleor/static/dashboard-next/icons/Moon.tsxindex 88df92b0fa..acbd52ee2a 100644--- a/saleor/static/dashboard-next/icons/Moon.tsx+++ b/saleor/static/dashboard-next/icons/Moon.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Moon = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Navigation.tsx b/saleor/static/dashboard-next/icons/Navigation.tsxindex 57b83ec11f..c7c7d29a9c 100644--- a/saleor/static/dashboard-next/icons/Navigation.tsx+++ b/saleor/static/dashboard-next/icons/Navigation.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Navigation = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/NoPhoto.tsx b/saleor/static/dashboard-next/icons/NoPhoto.tsxindex 60f61c2abd..c83d77a73e 100644--- a/saleor/static/dashboard-next/icons/NoPhoto.tsx+++ b/saleor/static/dashboard-next/icons/NoPhoto.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const NoPhoto = createSvgIcon(<g style={{ fillRule: "evenodd" }}>diff --git a/saleor/static/dashboard-next/icons/OrderedListIcon.tsx b/saleor/static/dashboard-next/icons/OrderedListIcon.tsxindex e203dc7942..95a76af221 100644--- a/saleor/static/dashboard-next/icons/OrderedListIcon.tsx+++ b/saleor/static/dashboard-next/icons/OrderedListIcon.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const OrderedListIcon = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Orders.tsx b/saleor/static/dashboard-next/icons/Orders.tsxindex 264a652f3c..7026b704af 100644--- a/saleor/static/dashboard-next/icons/Orders.tsx+++ b/saleor/static/dashboard-next/icons/Orders.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Orders = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Pages.tsx b/saleor/static/dashboard-next/icons/Pages.tsxindex cf4be3c291..6aa43bc323 100644--- a/saleor/static/dashboard-next/icons/Pages.tsx+++ b/saleor/static/dashboard-next/icons/Pages.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Pages = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/ProductTypes.tsx b/saleor/static/dashboard-next/icons/ProductTypes.tsxindex 57d3b88f74..c86899204c 100644--- a/saleor/static/dashboard-next/icons/ProductTypes.tsx+++ b/saleor/static/dashboard-next/icons/ProductTypes.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const ProductTypes = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/QuotationIcon.tsx b/saleor/static/dashboard-next/icons/QuotationIcon.tsxindex 16e855053c..0d49f21b41 100644--- a/saleor/static/dashboard-next/icons/QuotationIcon.tsx+++ b/saleor/static/dashboard-next/icons/QuotationIcon.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const QuotationIcon = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Sales.tsx b/saleor/static/dashboard-next/icons/Sales.tsxindex dc85268a7e..dae31094fc 100644--- a/saleor/static/dashboard-next/icons/Sales.tsx+++ b/saleor/static/dashboard-next/icons/Sales.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Sales = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/ShippingMethods.tsx b/saleor/static/dashboard-next/icons/ShippingMethods.tsxindex b695a80d6f..0c4c90d037 100644--- a/saleor/static/dashboard-next/icons/ShippingMethods.tsx+++ b/saleor/static/dashboard-next/icons/ShippingMethods.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const ShippingMethods = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Shop.tsx b/saleor/static/dashboard-next/icons/Shop.tsxindex 397a694103..1cc474bfb6 100644--- a/saleor/static/dashboard-next/icons/Shop.tsx+++ b/saleor/static/dashboard-next/icons/Shop.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Shop = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/SiteSettings.tsx b/saleor/static/dashboard-next/icons/SiteSettings.tsxindex fc7d50bad2..38829145dc 100644--- a/saleor/static/dashboard-next/icons/SiteSettings.tsx+++ b/saleor/static/dashboard-next/icons/SiteSettings.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const SiteSettings = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/StaffMembers.tsx b/saleor/static/dashboard-next/icons/StaffMembers.tsxindex 1a3072e0df..bf1c451627 100644--- a/saleor/static/dashboard-next/icons/StaffMembers.tsx+++ b/saleor/static/dashboard-next/icons/StaffMembers.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const StaffMembers = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/StoreMall.tsx b/saleor/static/dashboard-next/icons/StoreMall.tsxindex bec5a200ce..753ba2d15d 100644--- a/saleor/static/dashboard-next/icons/StoreMall.tsx+++ b/saleor/static/dashboard-next/icons/StoreMall.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const StoreMall = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/StrikethroughIcon.tsx b/saleor/static/dashboard-next/icons/StrikethroughIcon.tsxindex 93f8286fc3..accad0a5fe 100644--- a/saleor/static/dashboard-next/icons/StrikethroughIcon.tsx+++ b/saleor/static/dashboard-next/icons/StrikethroughIcon.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const HeaderOne = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Sun.tsx b/saleor/static/dashboard-next/icons/Sun.tsxindex ff870b2f92..310ee19075 100644--- a/saleor/static/dashboard-next/icons/Sun.tsx+++ b/saleor/static/dashboard-next/icons/Sun.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Sun = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Taxes.tsx b/saleor/static/dashboard-next/icons/Taxes.tsxindex bfc3ce334e..ae62d42069 100644--- a/saleor/static/dashboard-next/icons/Taxes.tsx+++ b/saleor/static/dashboard-next/icons/Taxes.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Taxes = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Truck.tsx b/saleor/static/dashboard-next/icons/Truck.tsxindex edfe088ed0..f90abaa5bd 100644--- a/saleor/static/dashboard-next/icons/Truck.tsx+++ b/saleor/static/dashboard-next/icons/Truck.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Truck = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/UnorderedListIcon.tsx b/saleor/static/dashboard-next/icons/UnorderedListIcon.tsxindex f62a439d32..d92de9a2b1 100644--- a/saleor/static/dashboard-next/icons/UnorderedListIcon.tsx+++ b/saleor/static/dashboard-next/icons/UnorderedListIcon.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const UnorderedListIcon = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/icons/Unstyled.tsx b/saleor/static/dashboard-next/icons/Unstyled.tsxindex c5993628ae..0fc19f44a1 100644--- a/saleor/static/dashboard-next/icons/Unstyled.tsx+++ b/saleor/static/dashboard-next/icons/Unstyled.tsx@@ -1,5 +1,5 @@import createSvgIcon from "@material-ui/icons/utils/createSvgIcon";-import * as React from "react";+import React from "react";export const Unstyled = createSvgIcon(<>diff --git a/saleor/static/dashboard-next/index.tsx b/saleor/static/dashboard-next/index.tsxindex ab330329d1..0364dbcaf1 100644--- a/saleor/static/dashboard-next/index.tsx+++ b/saleor/static/dashboard-next/index.tsx@@ -5,11 +5,11 @@ import { BatchHttpLink } from "apollo-link-batch-http";import { setContext } from "apollo-link-context";import { ErrorResponse, onError } from "apollo-link-error";import { createUploadLink } from "apollo-upload-client";-import * as React from "react";+import React from "react";import { ApolloProvider } from "react-apollo";import { render } from "react-dom";import { BrowserRouter, Route, Switch } from "react-router-dom";-import * as Cookies from "universal-cookie";+import Cookies from "universal-cookie";import { getAuthToken, removeAuthToken } from "./auth";import AuthProvider from "./auth/AuthProvider";diff --git a/saleor/static/dashboard-next/misc.ts b/saleor/static/dashboard-next/misc.tsindex c41a3b0e76..83f9e9aecb 100644--- a/saleor/static/dashboard-next/misc.ts+++ b/saleor/static/dashboard-next/misc.ts@@ -1,4 +1,4 @@-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { MutationFn, MutationResult } from "react-apollo";import { ConfirmButtonTransitionState } from "./components/ConfirmButton/ConfirmButton";diff --git a/saleor/static/dashboard-next/mutations.tsx b/saleor/static/dashboard-next/mutations.tsxindex b4689bfeab..f7f27665b2 100644--- a/saleor/static/dashboard-next/mutations.tsx+++ b/saleor/static/dashboard-next/mutations.tsx@@ -1,6 +1,6 @@import { ApolloError } from "apollo-client";import { DocumentNode } from "graphql";-import * as React from "react";+import React from "react";import {Mutation,MutationFn,diff --git a/saleor/static/dashboard-next/navigation/components/MenuCreateDialog/MenuCreateDialog.tsx b/saleor/static/dashboard-next/navigation/components/MenuCreateDialog/MenuCreateDialog.tsxindex 1620b5b199..fd06ad788a 100644--- a/saleor/static/dashboard-next/navigation/components/MenuCreateDialog/MenuCreateDialog.tsx+++ b/saleor/static/dashboard-next/navigation/components/MenuCreateDialog/MenuCreateDialog.tsx@@ -4,7 +4,7 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/navigation/components/MenuDetailsPage/MenuDetailsPage.tsx b/saleor/static/dashboard-next/navigation/components/MenuDetailsPage/MenuDetailsPage.tsxindex 4ce143bb4b..6c22f0d0da 100644--- a/saleor/static/dashboard-next/navigation/components/MenuDetailsPage/MenuDetailsPage.tsx+++ b/saleor/static/dashboard-next/navigation/components/MenuDetailsPage/MenuDetailsPage.tsx@@ -1,5 +1,5 @@import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/navigation/components/MenuItemDialog/MenuItemDialog.tsx b/saleor/static/dashboard-next/navigation/components/MenuItemDialog/MenuItemDialog.tsxindex 6cb3f59ec5..e299119030 100644--- a/saleor/static/dashboard-next/navigation/components/MenuItemDialog/MenuItemDialog.tsx+++ b/saleor/static/dashboard-next/navigation/components/MenuItemDialog/MenuItemDialog.tsx@@ -4,8 +4,8 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";-import * as isUrl from "is-url";-import * as React from "react";+import isUrl from "is-url";+import React from "react";import AutocompleteSelectMenu from "@saleor/components/AutocompleteSelectMenu";import ConfirmButton, {diff --git a/saleor/static/dashboard-next/navigation/components/MenuItems/MenuItems.tsx b/saleor/static/dashboard-next/navigation/components/MenuItems/MenuItems.tsxindex 715e29e650..ef17ab78a2 100644--- a/saleor/static/dashboard-next/navigation/components/MenuItems/MenuItems.tsx+++ b/saleor/static/dashboard-next/navigation/components/MenuItems/MenuItems.tsx@@ -13,7 +13,7 @@ import Typography from "@material-ui/core/Typography";import DeleteIcon from "@material-ui/icons/Delete";import EditIcon from "@material-ui/icons/Edit";import classNames from "classnames";-import * as React from "react";+import React from "react";import SortableTree, { NodeRendererProps, TreeItem } from "react-sortable-tree";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/navigation/components/MenuList/MenuList.tsx b/saleor/static/dashboard-next/navigation/components/MenuList/MenuList.tsxindex 2fb39843dd..12d802106a 100644--- a/saleor/static/dashboard-next/navigation/components/MenuList/MenuList.tsx+++ b/saleor/static/dashboard-next/navigation/components/MenuList/MenuList.tsx@@ -11,7 +11,7 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import IconButtonTableCell from "@saleor/components/IconButtonTableCell";diff --git a/saleor/static/dashboard-next/navigation/components/MenuListPage/MenuListPage.tsx b/saleor/static/dashboard-next/navigation/components/MenuListPage/MenuListPage.tsxindex 49c3df9303..8e6b98d56e 100644--- a/saleor/static/dashboard-next/navigation/components/MenuListPage/MenuListPage.tsx+++ b/saleor/static/dashboard-next/navigation/components/MenuListPage/MenuListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/navigation/components/MenuProperties/MenuProperties.tsx b/saleor/static/dashboard-next/navigation/components/MenuProperties/MenuProperties.tsxindex 15436c793a..a0379b149e 100644--- a/saleor/static/dashboard-next/navigation/components/MenuProperties/MenuProperties.tsx+++ b/saleor/static/dashboard-next/navigation/components/MenuProperties/MenuProperties.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/navigation/index.tsx b/saleor/static/dashboard-next/navigation/index.tsxindex 46ea8411cb..70e3663fcb 100644--- a/saleor/static/dashboard-next/navigation/index.tsx+++ b/saleor/static/dashboard-next/navigation/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { menuListPath, menuPath } from "./urls";diff --git a/saleor/static/dashboard-next/navigation/urls.ts b/saleor/static/dashboard-next/navigation/urls.tsindex 2481f46d41..0d70cf4917 100644--- a/saleor/static/dashboard-next/navigation/urls.ts+++ b/saleor/static/dashboard-next/navigation/urls.ts@@ -1,5 +1,6 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";+import { BulkAction, Dialog, Pagination, SingleAction } from "../types";export const navigationSection = "/navigation";diff --git a/saleor/static/dashboard-next/navigation/views/MenuDetails/index.tsx b/saleor/static/dashboard-next/navigation/views/MenuDetails/index.tsxindex c5ad9d9d12..c26d393439 100644--- a/saleor/static/dashboard-next/navigation/views/MenuDetails/index.tsx+++ b/saleor/static/dashboard-next/navigation/views/MenuDetails/index.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/navigation/views/MenuList.tsx b/saleor/static/dashboard-next/navigation/views/MenuList.tsxindex 7e9f0a5618..35f05d79c9 100644--- a/saleor/static/dashboard-next/navigation/views/MenuList.tsx+++ b/saleor/static/dashboard-next/navigation/views/MenuList.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useBulkActions from "@saleor/hooks/useBulkActions";diff --git a/saleor/static/dashboard-next/orders/components/OrderAddressEditDialog/OrderAddressEditDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderAddressEditDialog/OrderAddressEditDialog.tsxindex 81687a3e4e..fa5eb177fb 100644--- a/saleor/static/dashboard-next/orders/components/OrderAddressEditDialog/OrderAddressEditDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderAddressEditDialog/OrderAddressEditDialog.tsx@@ -4,7 +4,7 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import AddressEdit from "@saleor/components/AddressEdit";import ConfirmButton, {diff --git a/saleor/static/dashboard-next/orders/components/OrderBulkCancelDialog/OrderBulkCancelDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderBulkCancelDialog/OrderBulkCancelDialog.tsxindex f9029dd82f..0c25ddeb07 100644--- a/saleor/static/dashboard-next/orders/components/OrderBulkCancelDialog/OrderBulkCancelDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderBulkCancelDialog/OrderBulkCancelDialog.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";diff --git a/saleor/static/dashboard-next/orders/components/OrderCancelDialog/OrderCancelDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderCancelDialog/OrderCancelDialog.tsxindex ee8b157581..51eb429aac 100644--- a/saleor/static/dashboard-next/orders/components/OrderCancelDialog/OrderCancelDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderCancelDialog/OrderCancelDialog.tsx@@ -10,7 +10,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/orders/components/OrderCustomer/OrderCustomer.tsx b/saleor/static/dashboard-next/orders/components/OrderCustomer/OrderCustomer.tsxindex 92970c79cf..ea42bf8f78 100644--- a/saleor/static/dashboard-next/orders/components/OrderCustomer/OrderCustomer.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderCustomer/OrderCustomer.tsx@@ -8,7 +8,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import ExternalLink from "@saleor/components/ExternalLink";diff --git a/saleor/static/dashboard-next/orders/components/OrderCustomerEditDialog/OrderCustomerEditDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderCustomerEditDialog/OrderCustomerEditDialog.tsxindex 2c7b1f2713..3cd9804bb9 100644--- a/saleor/static/dashboard-next/orders/components/OrderCustomerEditDialog/OrderCustomerEditDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderCustomerEditDialog/OrderCustomerEditDialog.tsx@@ -9,7 +9,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/orders/components/OrderCustomerNote/OrderCustomerNote.tsx b/saleor/static/dashboard-next/orders/components/OrderCustomerNote/OrderCustomerNote.tsxindex 331473340a..4a3b075fff 100644--- a/saleor/static/dashboard-next/orders/components/OrderCustomerNote/OrderCustomerNote.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderCustomerNote/OrderCustomerNote.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx b/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsxindex a1d3d7f3a0..b20a70e101 100644--- a/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardMenu from "@saleor/components/CardMenu";diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftCancelDialog/OrderDraftCancelDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftCancelDialog/OrderDraftCancelDialog.tsxindex 61704b1935..95866ae352 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftCancelDialog/OrderDraftCancelDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftCancelDialog/OrderDraftCancelDialog.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftDetails/OrderDraftDetails.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftDetails/OrderDraftDetails.tsxindex 17f1e478cd..3eeb932e7b 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftDetails/OrderDraftDetails.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftDetails/OrderDraftDetails.tsx@@ -1,7 +1,7 @@import Button from "@material-ui/core/Button";import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftDetailsProducts/OrderDraftDetailsProducts.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftDetailsProducts/OrderDraftDetailsProducts.tsxindex 1ba483fe35..09b0cd8cca 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftDetailsProducts/OrderDraftDetailsProducts.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftDetailsProducts/OrderDraftDetailsProducts.tsx@@ -13,7 +13,7 @@ import TableRow from "@material-ui/core/TableRow";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import { DebounceForm } from "@saleor/components/DebounceForm";import Form from "@saleor/components/Form";diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftDetailsSummary/OrderDraftDetailsSummary.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftDetailsSummary/OrderDraftDetailsSummary.tsxindex 70eebafd15..1ca1898c62 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftDetailsSummary/OrderDraftDetailsSummary.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftDetailsSummary/OrderDraftDetailsSummary.tsx@@ -4,7 +4,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import Link from "@saleor/components/Link";import Money from "@saleor/components/Money";diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftFinalizeDialog/OrderDraftFinalizeDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftFinalizeDialog/OrderDraftFinalizeDialog.tsxindex 4238d299e7..f8b72cb60e 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftFinalizeDialog/OrderDraftFinalizeDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftFinalizeDialog/OrderDraftFinalizeDialog.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftList/OrderDraftList.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftList/OrderDraftList.tsxindex b0c25797da..e6ab22d0b8 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftList/OrderDraftList.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftList/OrderDraftList.tsx@@ -9,7 +9,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import { DateTime } from "@saleor/components/Date";diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftListPage/OrderDraftListPage.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftListPage/OrderDraftListPage.tsxindex 9e9d2235c2..09b7063c2a 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftListPage/OrderDraftListPage.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftListPage/OrderDraftListPage.tsx@@ -1,7 +1,7 @@import Button from "@material-ui/core/Button";import Card from "@material-ui/core/Card";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import Container from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsxindex 074d3a65d6..7e357f5477 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardMenu from "@saleor/components/CardMenu";diff --git a/saleor/static/dashboard-next/orders/components/OrderFulfillment/OrderFulfillment.tsx b/saleor/static/dashboard-next/orders/components/OrderFulfillment/OrderFulfillment.tsxindex 2672675e2b..ee4d4241da 100644--- a/saleor/static/dashboard-next/orders/components/OrderFulfillment/OrderFulfillment.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderFulfillment/OrderFulfillment.tsx@@ -13,7 +13,7 @@ import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardMenu from "@saleor/components/CardMenu";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/orders/components/OrderFulfillmentCancelDialog/OrderFulfillmentCancelDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderFulfillmentCancelDialog/OrderFulfillmentCancelDialog.tsxindex 992db9000d..8db3614649 100644--- a/saleor/static/dashboard-next/orders/components/OrderFulfillmentCancelDialog/OrderFulfillmentCancelDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderFulfillmentCancelDialog/OrderFulfillmentCancelDialog.tsx@@ -10,7 +10,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsxindex 23370da00e..92657cdb87 100644--- a/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx@@ -15,7 +15,7 @@ import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.tsxindex 0f6c9e9c3e..df3df08fe7 100644--- a/saleor/static/dashboard-next/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.tsx@@ -4,7 +4,7 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx b/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsxindex 93dda34e44..e04b7e2040 100644--- a/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx@@ -5,7 +5,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import Form from "@saleor/components/Form";import Hr from "@saleor/components/Hr";diff --git a/saleor/static/dashboard-next/orders/components/OrderList/OrderList.tsx b/saleor/static/dashboard-next/orders/components/OrderList/OrderList.tsxindex 67b0e01b51..b64b8c8725 100644--- a/saleor/static/dashboard-next/orders/components/OrderList/OrderList.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderList/OrderList.tsx@@ -9,7 +9,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import { DateTime } from "@saleor/components/Date";diff --git a/saleor/static/dashboard-next/orders/components/OrderListFilter/OrderListFilter.tsx b/saleor/static/dashboard-next/orders/components/OrderListFilter/OrderListFilter.tsxindex 6fe3b547df..a76489479e 100644--- a/saleor/static/dashboard-next/orders/components/OrderListFilter/OrderListFilter.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderListFilter/OrderListFilter.tsx@@ -1,5 +1,5 @@-import * as moment from "moment-timezone";-import * as React from "react";+import moment from "moment-timezone";+import React from "react";import { DateContext } from "@saleor/components/Date/DateContext";import { FieldType, IFilter } from "@saleor/components/Filter";diff --git a/saleor/static/dashboard-next/orders/components/OrderListPage/OrderListPage.tsx b/saleor/static/dashboard-next/orders/components/OrderListPage/OrderListPage.tsxindex 9b20884cf8..96d25ba14d 100644--- a/saleor/static/dashboard-next/orders/components/OrderListPage/OrderListPage.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderListPage/OrderListPage.tsx@@ -1,7 +1,7 @@import Button from "@material-ui/core/Button";import Card from "@material-ui/core/Card";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import Container from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/orders/components/OrderMarkAsPaidDialog/OrderMarkAsPaidDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderMarkAsPaidDialog/OrderMarkAsPaidDialog.tsxindex dc32a3be7a..19e83e459d 100644--- a/saleor/static/dashboard-next/orders/components/OrderMarkAsPaidDialog/OrderMarkAsPaidDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderMarkAsPaidDialog/OrderMarkAsPaidDialog.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";diff --git a/saleor/static/dashboard-next/orders/components/OrderPayment/OrderPayment.tsx b/saleor/static/dashboard-next/orders/components/OrderPayment/OrderPayment.tsxindex 31638a022a..2701e0c81b 100644--- a/saleor/static/dashboard-next/orders/components/OrderPayment/OrderPayment.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderPayment/OrderPayment.tsx@@ -8,7 +8,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { Hr } from "@saleor/components/Hr";diff --git a/saleor/static/dashboard-next/orders/components/OrderPaymentDialog/OrderPaymentDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderPaymentDialog/OrderPaymentDialog.tsxindex 89a87c0fe4..5e9f8b0681 100644--- a/saleor/static/dashboard-next/orders/components/OrderPaymentDialog/OrderPaymentDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderPaymentDialog/OrderPaymentDialog.tsx@@ -4,7 +4,7 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionState@@ -72,9 +72,9 @@ const OrderPaymentDialog: React.StatelessComponent<OrderPaymentDialogProps> = ({transitionState={confirmButtonState}color="primary"variant="contained"- onClick={data => {+ onClick={() => {onClose();- submit(data);+ submit();}}>{i18n.t("Confirm", { context: "button" })}diff --git a/saleor/static/dashboard-next/orders/components/OrderPaymentVoidDialog/OrderPaymentVoidDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderPaymentVoidDialog/OrderPaymentVoidDialog.tsxindex 06a36d9b32..28ae4a0936 100644--- a/saleor/static/dashboard-next/orders/components/OrderPaymentVoidDialog/OrderPaymentVoidDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderPaymentVoidDialog/OrderPaymentVoidDialog.tsx@@ -4,7 +4,7 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogContentText from "@material-ui/core/DialogContentText";import DialogTitle from "@material-ui/core/DialogTitle";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/orders/components/OrderProductAddDialog/OrderProductAddDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderProductAddDialog/OrderProductAddDialog.tsxindex 38df75cbe2..178f61edc6 100644--- a/saleor/static/dashboard-next/orders/components/OrderProductAddDialog/OrderProductAddDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderProductAddDialog/OrderProductAddDialog.tsx@@ -15,8 +15,8 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableRow from "@material-ui/core/TableRow";import TextField from "@material-ui/core/TextField";-import * as React from "react";-import * as InfiniteScroll from "react-infinite-scroller";+import React from "react";+import InfiniteScroll from "react-infinite-scroller";import Checkbox from "@saleor/components/Checkbox";import ConfirmButton, {diff --git a/saleor/static/dashboard-next/orders/components/OrderShippingMethodEditDialog/OrderShippingMethodEditDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderShippingMethodEditDialog/OrderShippingMethodEditDialog.tsxindex 66803c788a..d290f5f032 100644--- a/saleor/static/dashboard-next/orders/components/OrderShippingMethodEditDialog/OrderShippingMethodEditDialog.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderShippingMethodEditDialog/OrderShippingMethodEditDialog.tsx@@ -9,7 +9,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/orders/components/OrderUnfulfilledItems/OrderUnfulfilledItems.tsx b/saleor/static/dashboard-next/orders/components/OrderUnfulfilledItems/OrderUnfulfilledItems.tsxindex 19949f23f6..7a20e34b01 100644--- a/saleor/static/dashboard-next/orders/components/OrderUnfulfilledItems/OrderUnfulfilledItems.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderUnfulfilledItems/OrderUnfulfilledItems.tsx@@ -7,7 +7,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Money from "@saleor/components/Money";diff --git a/saleor/static/dashboard-next/orders/containers/OrderOperations.tsx b/saleor/static/dashboard-next/orders/containers/OrderOperations.tsxindex 2a9297fcd3..f41eeb3c2c 100644--- a/saleor/static/dashboard-next/orders/containers/OrderOperations.tsx+++ b/saleor/static/dashboard-next/orders/containers/OrderOperations.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { getMutationProviderData } from "../../misc";import { PartialMutationProviderOutput } from "../../types";diff --git a/saleor/static/dashboard-next/orders/index.tsx b/saleor/static/dashboard-next/orders/index.tsxindex 09490bb350..7dad19c21a 100644--- a/saleor/static/dashboard-next/orders/index.tsx+++ b/saleor/static/dashboard-next/orders/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/orders/urls.ts b/saleor/static/dashboard-next/orders/urls.tsindex 5edbbd758b..c54540c6cb 100644--- a/saleor/static/dashboard-next/orders/urls.ts+++ b/saleor/static/dashboard-next/orders/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import {ActiveTab,diff --git a/saleor/static/dashboard-next/orders/views/OrderDetails/OrderDetailsMessages.tsx b/saleor/static/dashboard-next/orders/views/OrderDetails/OrderDetailsMessages.tsxindex e4383c1072..d24d7f741e 100644--- a/saleor/static/dashboard-next/orders/views/OrderDetails/OrderDetailsMessages.tsx+++ b/saleor/static/dashboard-next/orders/views/OrderDetails/OrderDetailsMessages.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx b/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsxindex 1afec5dcda..a1cb701788 100644--- a/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx+++ b/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/orders/views/OrderDraftList.tsx b/saleor/static/dashboard-next/orders/views/OrderDraftList.tsxindex e73c966b89..17e9ebf2ac 100644--- a/saleor/static/dashboard-next/orders/views/OrderDraftList.tsx+++ b/saleor/static/dashboard-next/orders/views/OrderDraftList.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useBulkActions from "@saleor/hooks/useBulkActions";diff --git a/saleor/static/dashboard-next/orders/views/OrderList/OrderList.tsx b/saleor/static/dashboard-next/orders/views/OrderList/OrderList.tsxindex f0b19205e7..7c40ef4202 100644--- a/saleor/static/dashboard-next/orders/views/OrderList/OrderList.tsx+++ b/saleor/static/dashboard-next/orders/views/OrderList/OrderList.tsx@@ -1,5 +1,5 @@import Button from "@material-ui/core/Button";-import * as React from "react";+import React from "react";import DeleteFilterTabDialog from "@saleor/components/DeleteFilterTabDialog";import SaveFilterTabDialog, {diff --git a/saleor/static/dashboard-next/pages/components/PageDetailsPage/PageDetailsPage.tsx b/saleor/static/dashboard-next/pages/components/PageDetailsPage/PageDetailsPage.tsxindex 18cbd54b98..d55ad79e86 100644--- a/saleor/static/dashboard-next/pages/components/PageDetailsPage/PageDetailsPage.tsx+++ b/saleor/static/dashboard-next/pages/components/PageDetailsPage/PageDetailsPage.tsx@@ -4,7 +4,7 @@ import {convertToRaw,RawDraftContentState} from "draft-js";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/pages/components/PageInfo/PageInfo.tsx b/saleor/static/dashboard-next/pages/components/PageInfo/PageInfo.tsxindex 3d7d5de9e5..db53dcb7e7 100644--- a/saleor/static/dashboard-next/pages/components/PageInfo/PageInfo.tsx+++ b/saleor/static/dashboard-next/pages/components/PageInfo/PageInfo.tsx@@ -2,7 +2,7 @@ import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import FormSpacer from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx b/saleor/static/dashboard-next/pages/components/PageList/PageList.tsxindex ad77e8d68c..a02195c847 100644--- a/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx+++ b/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx@@ -10,7 +10,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/pages/components/PageListPage/PageListPage.tsx b/saleor/static/dashboard-next/pages/components/PageListPage/PageListPage.tsxindex 1e6a72bc91..d5666cb8cb 100644--- a/saleor/static/dashboard-next/pages/components/PageListPage/PageListPage.tsx+++ b/saleor/static/dashboard-next/pages/components/PageListPage/PageListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/pages/components/PageSlug/PageSlug.tsx b/saleor/static/dashboard-next/pages/components/PageSlug/PageSlug.tsxindex b251e4af27..0cfa9c7ba9 100644--- a/saleor/static/dashboard-next/pages/components/PageSlug/PageSlug.tsx+++ b/saleor/static/dashboard-next/pages/components/PageSlug/PageSlug.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import slugify from "slugify";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/pages/index.tsx b/saleor/static/dashboard-next/pages/index.tsxindex d156d0941c..e45c1b49fe 100644--- a/saleor/static/dashboard-next/pages/index.tsx+++ b/saleor/static/dashboard-next/pages/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/pages/urls.ts b/saleor/static/dashboard-next/pages/urls.tsindex 6761dd81fb..dd4c6c88f3 100644--- a/saleor/static/dashboard-next/pages/urls.ts+++ b/saleor/static/dashboard-next/pages/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { BulkAction, Dialog, Pagination } from "../types";diff --git a/saleor/static/dashboard-next/pages/views/PageCreate.tsx b/saleor/static/dashboard-next/pages/views/PageCreate.tsxindex 367d4b9298..615deab40a 100644--- a/saleor/static/dashboard-next/pages/views/PageCreate.tsx+++ b/saleor/static/dashboard-next/pages/views/PageCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/pages/views/PageDetails.tsx b/saleor/static/dashboard-next/pages/views/PageDetails.tsxindex e8b64a283b..90d0e1b007 100644--- a/saleor/static/dashboard-next/pages/views/PageDetails.tsx+++ b/saleor/static/dashboard-next/pages/views/PageDetails.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { WindowTitle } from "@saleor/components/WindowTitle";diff --git a/saleor/static/dashboard-next/pages/views/PageList.tsx b/saleor/static/dashboard-next/pages/views/PageList.tsxindex bdfea8fbb6..c22b5e6d6f 100644--- a/saleor/static/dashboard-next/pages/views/PageList.tsx+++ b/saleor/static/dashboard-next/pages/views/PageList.tsx@@ -2,7 +2,7 @@ import Button from "@material-ui/core/Button";import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useBulkActions from "@saleor/hooks/useBulkActions";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributeEditDialog/ProductTypeAttributeEditDialog.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributeEditDialog/ProductTypeAttributeEditDialog.tsxindex 7e431962c8..e275ed5c81 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributeEditDialog/ProductTypeAttributeEditDialog.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributeEditDialog/ProductTypeAttributeEditDialog.tsx@@ -4,7 +4,7 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import Form from "@saleor/components/Form";import { FormSpacer } from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsxindex e75f41ab40..68bec78659 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributes/ProductTypeAttributes.tsx@@ -13,7 +13,7 @@ import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsxindex 76dfcda746..d59b23daf3 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetails/ProductTypeDetails.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetails/ProductTypeDetails.tsxindex 984b1f03d9..e25977bd08 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetails/ProductTypeDetails.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetails/ProductTypeDetails.tsx@@ -2,7 +2,7 @@ import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsxindex bffc67b0d7..051cf9b4ce 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsxindex 6ad65504f0..b95404c7c2 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeList/ProductTypeList.tsx@@ -11,7 +11,7 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsxindex 52c7545572..67d130f2e9 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeShipping/ProductTypeShipping.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeShipping/ProductTypeShipping.tsxindex 5ad7b53e85..be0b5daa23 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeShipping/ProductTypeShipping.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeShipping/ProductTypeShipping.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { ControlledCheckbox } from "@saleor/components/ControlledCheckbox";diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeTaxes/ProductTypeTaxes.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeTaxes/ProductTypeTaxes.tsxindex c824355b4f..77dff89644 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeTaxes/ProductTypeTaxes.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeTaxes/ProductTypeTaxes.tsx@@ -1,6 +1,6 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import SingleSelectField from "@saleor/components/SingleSelectField";diff --git a/saleor/static/dashboard-next/productTypes/containers/ProductTypeOperations.tsx b/saleor/static/dashboard-next/productTypes/containers/ProductTypeOperations.tsxindex f99152083a..ce34e26602 100644--- a/saleor/static/dashboard-next/productTypes/containers/ProductTypeOperations.tsx+++ b/saleor/static/dashboard-next/productTypes/containers/ProductTypeOperations.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { getMutationProviderData } from "../../misc";import { PartialMutationProviderOutput } from "../../types";diff --git a/saleor/static/dashboard-next/productTypes/index.tsx b/saleor/static/dashboard-next/productTypes/index.tsxindex c5232cfe0e..b80cb3dcf2 100644--- a/saleor/static/dashboard-next/productTypes/index.tsx+++ b/saleor/static/dashboard-next/productTypes/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/productTypes/urls.ts b/saleor/static/dashboard-next/productTypes/urls.tsindex 509f22d478..2ba27d6351 100644--- a/saleor/static/dashboard-next/productTypes/urls.ts+++ b/saleor/static/dashboard-next/productTypes/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { BulkAction, Dialog, Pagination, SingleAction } from "../types";import { AttributeTypeEnum } from "../types/globalTypes";diff --git a/saleor/static/dashboard-next/productTypes/views/ProductTypeCreate.tsx b/saleor/static/dashboard-next/productTypes/views/ProductTypeCreate.tsxindex 1b21b96f2d..51bc8cab01 100644--- a/saleor/static/dashboard-next/productTypes/views/ProductTypeCreate.tsx+++ b/saleor/static/dashboard-next/productTypes/views/ProductTypeCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/productTypes/views/ProductTypeList.tsx b/saleor/static/dashboard-next/productTypes/views/ProductTypeList.tsxindex 40d66ef2f5..101b9fc26f 100644--- a/saleor/static/dashboard-next/productTypes/views/ProductTypeList.tsx+++ b/saleor/static/dashboard-next/productTypes/views/ProductTypeList.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useBulkActions from "@saleor/hooks/useBulkActions";diff --git a/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/errors.tsx b/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/errors.tsxindex 851bf6c30e..d61ce121b8 100644--- a/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/errors.tsx+++ b/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/errors.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { UserError } from "../../../types";diff --git a/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/index.tsx b/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/index.tsxindex d7099f31bb..25348b6ec6 100644--- a/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/index.tsx+++ b/saleor/static/dashboard-next/productTypes/views/ProductTypeUpdate/index.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { WindowTitle } from "@saleor/components/WindowTitle";diff --git a/saleor/static/dashboard-next/products/components/ProductCategoryAndCollectionsForm/ProductCategoryAndCollectionsForm.tsx b/saleor/static/dashboard-next/products/components/ProductCategoryAndCollectionsForm/ProductCategoryAndCollectionsForm.tsxindex ae890a1a24..0e109b9a65 100644--- a/saleor/static/dashboard-next/products/components/ProductCategoryAndCollectionsForm/ProductCategoryAndCollectionsForm.tsx+++ b/saleor/static/dashboard-next/products/components/ProductCategoryAndCollectionsForm/ProductCategoryAndCollectionsForm.tsx@@ -1,6 +1,6 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";-import * as React from "react";+import React from "react";import FormSpacer from "@saleor/components/FormSpacer";import MultiSelectField from "@saleor/components/MultiSelectField";diff --git a/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx b/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsxindex ce65f194e5..216e575a4f 100644--- a/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx@@ -1,5 +1,5 @@import { RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/products/components/ProductDetailsForm/ProductDetailsForm.tsx b/saleor/static/dashboard-next/products/components/ProductDetailsForm/ProductDetailsForm.tsxindex 2c3c470744..66fef810b9 100644--- a/saleor/static/dashboard-next/products/components/ProductDetailsForm/ProductDetailsForm.tsx+++ b/saleor/static/dashboard-next/products/components/ProductDetailsForm/ProductDetailsForm.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import FormSpacer from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/products/components/ProductImageNavigation/ProductImageNavigation.tsx b/saleor/static/dashboard-next/products/components/ProductImageNavigation/ProductImageNavigation.tsxindex ca31125696..452e3bc7ec 100644--- a/saleor/static/dashboard-next/products/components/ProductImageNavigation/ProductImageNavigation.tsx+++ b/saleor/static/dashboard-next/products/components/ProductImageNavigation/ProductImageNavigation.tsx@@ -6,8 +6,8 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx b/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsxindex 4363e2546d..f5b4ebe6eb 100644--- a/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/products/components/ProductImages/ProductImages.tsx b/saleor/static/dashboard-next/products/components/ProductImages/ProductImages.tsxindex 1cef09dcdd..a4727eca59 100644--- a/saleor/static/dashboard-next/products/components/ProductImages/ProductImages.tsx+++ b/saleor/static/dashboard-next/products/components/ProductImages/ProductImages.tsx@@ -12,7 +12,7 @@ import {import CardTitle from "@saleor/components/CardTitle";import ImageTile from "@saleor/components/ImageTile";import ImageUpload from "@saleor/components/ImageUpload";-import * as React from "react";+import React from "react";import { SortableContainer, SortableElement } from "react-sortable-hoc";import i18n from "../../../i18n";import { ProductDetails_product_images } from "../../types/ProductDetails";diff --git a/saleor/static/dashboard-next/products/components/ProductListCard/ProductListCard.tsx b/saleor/static/dashboard-next/products/components/ProductListCard/ProductListCard.tsxindex c14617933c..618c7a4805 100644--- a/saleor/static/dashboard-next/products/components/ProductListCard/ProductListCard.tsx+++ b/saleor/static/dashboard-next/products/components/ProductListCard/ProductListCard.tsx@@ -1,7 +1,7 @@import Button from "@material-ui/core/Button";import Card from "@material-ui/core/Card";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import Container from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx b/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsxindex a9db1f5cf0..4381325cbd 100644--- a/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx+++ b/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { FieldType, IFilter } from "@saleor/components/Filter";import FilterBar from "@saleor/components/FilterBar";diff --git a/saleor/static/dashboard-next/products/components/ProductOrganization/ProductOrganization.tsx b/saleor/static/dashboard-next/products/components/ProductOrganization/ProductOrganization.tsxindex 1081878db9..2c757074f8 100644--- a/saleor/static/dashboard-next/products/components/ProductOrganization/ProductOrganization.tsx+++ b/saleor/static/dashboard-next/products/components/ProductOrganization/ProductOrganization.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardSpacer from "@saleor/components/CardSpacer";import CardTitle from "@saleor/components/CardTitle";diff --git a/saleor/static/dashboard-next/products/components/ProductPricing/ProductPricing.tsx b/saleor/static/dashboard-next/products/components/ProductPricing/ProductPricing.tsxindex 41cb7b50a0..fc22a32f00 100644--- a/saleor/static/dashboard-next/products/components/ProductPricing/ProductPricing.tsx+++ b/saleor/static/dashboard-next/products/components/ProductPricing/ProductPricing.tsx@@ -6,7 +6,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import ControlledCheckbox from "@saleor/components/ControlledCheckbox";diff --git a/saleor/static/dashboard-next/products/components/ProductStock/ProductStock.tsx b/saleor/static/dashboard-next/products/components/ProductStock/ProductStock.tsxindex f861b817c5..3407fcb843 100644--- a/saleor/static/dashboard-next/products/components/ProductStock/ProductStock.tsx+++ b/saleor/static/dashboard-next/products/components/ProductStock/ProductStock.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx b/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsxindex 6f1d6f0aa0..93db6711cb 100644--- a/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx@@ -1,5 +1,5 @@import { convertFromRaw, RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/products/components/ProductVariantAttributes/ProductVariantAttributes.tsx b/saleor/static/dashboard-next/products/components/ProductVariantAttributes/ProductVariantAttributes.tsxindex 06a49a06ca..1d45faf12e 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantAttributes/ProductVariantAttributes.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantAttributes/ProductVariantAttributes.tsx@@ -6,7 +6,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import SingleAutocompleteSelectField from "@saleor/components/SingleAutocompleteSelectField";diff --git a/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx b/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsxindex b865a7b3dc..5ea1ef7fba 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/products/components/ProductVariantDeleteDialog/ProductVariantDeleteDialog.tsx b/saleor/static/dashboard-next/products/components/ProductVariantDeleteDialog/ProductVariantDeleteDialog.tsxindex 73569e58e7..b900e973b9 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantDeleteDialog/ProductVariantDeleteDialog.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantDeleteDialog/ProductVariantDeleteDialog.tsx@@ -10,7 +10,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/products/components/ProductVariantImageSelectDialog/ProductVariantImageSelectDialog.tsx b/saleor/static/dashboard-next/products/components/ProductVariantImageSelectDialog/ProductVariantImageSelectDialog.tsxindex 19c5bde553..028a5eacda 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantImageSelectDialog/ProductVariantImageSelectDialog.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantImageSelectDialog/ProductVariantImageSelectDialog.tsx@@ -9,8 +9,8 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import i18n from "../../../i18n";import { ProductImage } from "../../types/ProductImage";diff --git a/saleor/static/dashboard-next/products/components/ProductVariantImages/ProductVariantImages.tsx b/saleor/static/dashboard-next/products/components/ProductVariantImages/ProductVariantImages.tsxindex b111281cb1..6dda4936c2 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantImages/ProductVariantImages.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantImages/ProductVariantImages.tsx@@ -8,7 +8,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/products/components/ProductVariantNavigation/ProductVariantNavigation.tsx b/saleor/static/dashboard-next/products/components/ProductVariantNavigation/ProductVariantNavigation.tsxindex 34efe02352..9b04808a18 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantNavigation/ProductVariantNavigation.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantNavigation/ProductVariantNavigation.tsx@@ -10,8 +10,8 @@ import Table from "@material-ui/core/Table";import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableRow from "@material-ui/core/TableRow";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx b/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsxindex 90caa12904..1dd8be01e8 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/products/components/ProductVariantPrice/ProductVariantPrice.tsx b/saleor/static/dashboard-next/products/components/ProductVariantPrice/ProductVariantPrice.tsxindex 7166242bf4..077a4b49de 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantPrice/ProductVariantPrice.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantPrice/ProductVariantPrice.tsx@@ -6,7 +6,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import PriceField from "@saleor/components/PriceField";diff --git a/saleor/static/dashboard-next/products/components/ProductVariantStock/ProductVariantStock.tsx b/saleor/static/dashboard-next/products/components/ProductVariantStock/ProductVariantStock.tsxindex 9e07de8b65..748f85362c 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantStock/ProductVariantStock.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantStock/ProductVariantStock.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx b/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsxindex 389834ac22..5e7acbe775 100644--- a/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx@@ -13,7 +13,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableRow from "@material-ui/core/TableRow";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Checkbox from "@saleor/components/Checkbox";diff --git a/saleor/static/dashboard-next/products/containers/ProductImagesReorder.tsx b/saleor/static/dashboard-next/products/containers/ProductImagesReorder.tsxindex 3a9cd2d7b5..bd49b8a4a1 100644--- a/saleor/static/dashboard-next/products/containers/ProductImagesReorder.tsx+++ b/saleor/static/dashboard-next/products/containers/ProductImagesReorder.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { TypedMutationInnerProps } from "../../mutations";import { TypedProductImagesReorder } from "../mutations";diff --git a/saleor/static/dashboard-next/products/containers/ProductUpdateOperations.tsx b/saleor/static/dashboard-next/products/containers/ProductUpdateOperations.tsxindex e00558c411..3ed040bbcf 100644--- a/saleor/static/dashboard-next/products/containers/ProductUpdateOperations.tsx+++ b/saleor/static/dashboard-next/products/containers/ProductUpdateOperations.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { getMutationProviderData, maybe } from "../../misc";import { PartialMutationProviderOutput } from "../../types";diff --git a/saleor/static/dashboard-next/products/containers/ProductVariantOperations.tsx b/saleor/static/dashboard-next/products/containers/ProductVariantOperations.tsxindex a636ac989f..d93bf6bde5 100644--- a/saleor/static/dashboard-next/products/containers/ProductVariantOperations.tsx+++ b/saleor/static/dashboard-next/products/containers/ProductVariantOperations.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { getMutationProviderData } from "../../misc";import { PartialMutationProviderOutput } from "../../types";diff --git a/saleor/static/dashboard-next/products/index.tsx b/saleor/static/dashboard-next/products/index.tsxindex d5023e58f2..c824753101 100644--- a/saleor/static/dashboard-next/products/index.tsx+++ b/saleor/static/dashboard-next/products/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/products/urls.ts b/saleor/static/dashboard-next/products/urls.tsindex 7f9fa09ce5..2a62be3bd7 100644--- a/saleor/static/dashboard-next/products/urls.ts+++ b/saleor/static/dashboard-next/products/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { ActiveTab, BulkAction, Dialog, Filters, Pagination } from "../types";diff --git a/saleor/static/dashboard-next/products/views/ProductCreate.tsx b/saleor/static/dashboard-next/products/views/ProductCreate.tsxindex d0258e494c..b806e61bba 100644--- a/saleor/static/dashboard-next/products/views/ProductCreate.tsx+++ b/saleor/static/dashboard-next/products/views/ProductCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/products/views/ProductImage.tsx b/saleor/static/dashboard-next/products/views/ProductImage.tsxindex e2c6601bc6..bb7e4a193a 100644--- a/saleor/static/dashboard-next/products/views/ProductImage.tsx+++ b/saleor/static/dashboard-next/products/views/ProductImage.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/products/views/ProductList/ProductList.tsx b/saleor/static/dashboard-next/products/views/ProductList/ProductList.tsxindex ad411bf24e..7494e6053c 100644--- a/saleor/static/dashboard-next/products/views/ProductList/ProductList.tsx+++ b/saleor/static/dashboard-next/products/views/ProductList/ProductList.tsx@@ -2,7 +2,7 @@ import Button from "@material-ui/core/Button";import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import DeleteFilterTabDialog from "@saleor/components/DeleteFilterTabDialog";diff --git a/saleor/static/dashboard-next/products/views/ProductUpdate.tsx b/saleor/static/dashboard-next/products/views/ProductUpdate.tsxindex f36eb9ffa2..2f7741b286 100644--- a/saleor/static/dashboard-next/products/views/ProductUpdate.tsx+++ b/saleor/static/dashboard-next/products/views/ProductUpdate.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import { arrayMove } from "react-sortable-hoc";import ActionDialog from "@saleor/components/ActionDialog";@@ -9,7 +9,7 @@ import { WindowTitle } from "@saleor/components/WindowTitle";import useBulkActions from "@saleor/hooks/useBulkActions";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";-import * as placeholderImg from "../../../images/placeholder255x255.png";+import placeholderImg from "../../../images/placeholder255x255.png";import { DEFAULT_INITIAL_SEARCH_DATA } from "../../config";import SearchCategories from "../../containers/SearchCategories";import SearchCollections from "../../containers/SearchCollections";diff --git a/saleor/static/dashboard-next/products/views/ProductVariant.tsx b/saleor/static/dashboard-next/products/views/ProductVariant.tsxindex 49cc3cb11c..de431f60ec 100644--- a/saleor/static/dashboard-next/products/views/ProductVariant.tsx+++ b/saleor/static/dashboard-next/products/views/ProductVariant.tsx@@ -1,9 +1,9 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";-import * as placeholderImg from "../../../images/placeholder255x255.png";+import placeholderImg from "../../../images/placeholder255x255.png";import i18n from "../../i18n";import { decimal, getMutationState, maybe } from "../../misc";import ProductVariantDeleteDialog from "../components/ProductVariantDeleteDialog";diff --git a/saleor/static/dashboard-next/products/views/ProductVariantCreate.tsx b/saleor/static/dashboard-next/products/views/ProductVariantCreate.tsxindex f2dfa4f09b..848f1480eb 100644--- a/saleor/static/dashboard-next/products/views/ProductVariantCreate.tsx+++ b/saleor/static/dashboard-next/products/views/ProductVariantCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/queries.tsx b/saleor/static/dashboard-next/queries.tsxindex 2364ee6b79..43a066183d 100644--- a/saleor/static/dashboard-next/queries.tsx+++ b/saleor/static/dashboard-next/queries.tsx@@ -1,6 +1,6 @@import { DocumentNode } from "graphql";import gql from "graphql-tag";-import * as React from "react";+import React from "react";import { Query, QueryResult } from "react-apollo";import { ApolloQueryResult } from "apollo-client";diff --git a/saleor/static/dashboard-next/shipping/components/ShippingWeightUnitForm/ShippingWeightUnitForm.tsx b/saleor/static/dashboard-next/shipping/components/ShippingWeightUnitForm/ShippingWeightUnitForm.tsxindex b1f72dc6bf..ef3f1065e1 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingWeightUnitForm/ShippingWeightUnitForm.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingWeightUnitForm/ShippingWeightUnitForm.tsx@@ -2,7 +2,7 @@ import Button from "@material-ui/core/Button";import Card from "@material-ui/core/Card";import CardActions from "@material-ui/core/CardActions";import CardContent from "@material-ui/core/CardContent";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Form from "@saleor/components/Form";diff --git a/saleor/static/dashboard-next/shipping/components/ShippingZoneCountriesAssignDialog/ShippingZoneCountriesAssignDialog.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZoneCountriesAssignDialog/ShippingZoneCountriesAssignDialog.tsxindex 2f7ce52389..9f59522bd1 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZoneCountriesAssignDialog/ShippingZoneCountriesAssignDialog.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZoneCountriesAssignDialog/ShippingZoneCountriesAssignDialog.tsx@@ -16,7 +16,7 @@ import TableRow from "@material-ui/core/TableRow";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";import { filter } from "fuzzaldrin";-import * as React from "react";+import React from "react";import Checkbox from "@saleor/components/Checkbox";import ConfirmButton, {diff --git a/saleor/static/dashboard-next/shipping/components/ShippingZoneCreatePage/ShippingZoneCreatePage.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZoneCreatePage/ShippingZoneCreatePage.tsxindex ee805fb055..63f27bf09c 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZoneCreatePage/ShippingZoneCreatePage.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZoneCreatePage/ShippingZoneCreatePage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/shipping/components/ShippingZoneDetailsPage/ShippingZoneDetailsPage.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZoneDetailsPage/ShippingZoneDetailsPage.tsxindex 96040ad4ea..a6d573f681 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZoneDetailsPage/ShippingZoneDetailsPage.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZoneDetailsPage/ShippingZoneDetailsPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/shipping/components/ShippingZoneInfo/ShippingZoneInfo.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZoneInfo/ShippingZoneInfo.tsxindex ff17908e54..58abf77a9f 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZoneInfo/ShippingZoneInfo.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZoneInfo/ShippingZoneInfo.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/shipping/components/ShippingZoneRateDialog/ShippingZoneRateDialog.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZoneRateDialog/ShippingZoneRateDialog.tsxindex 75c0b05dcc..e08f6e5dd6 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZoneRateDialog/ShippingZoneRateDialog.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZoneRateDialog/ShippingZoneRateDialog.tsx@@ -11,7 +11,7 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/shipping/components/ShippingZoneRates/ShippingZoneRates.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZoneRates/ShippingZoneRates.tsxindex 589edd5b7f..2d3c41e7e8 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZoneRates/ShippingZoneRates.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZoneRates/ShippingZoneRates.tsx@@ -13,7 +13,7 @@ import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";import EditIcon from "@material-ui/icons/Edit";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import IconButtonTableCell from "@saleor/components/IconButtonTableCell";diff --git a/saleor/static/dashboard-next/shipping/components/ShippingZonesList/ShippingZonesList.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZonesList/ShippingZonesList.tsxindex 29974968eb..838fe4f149 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZonesList/ShippingZonesList.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZonesList/ShippingZonesList.tsx@@ -13,7 +13,7 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Checkbox from "@saleor/components/Checkbox";diff --git a/saleor/static/dashboard-next/shipping/components/ShippingZonesListPage/ShippingZonesListPage.tsx b/saleor/static/dashboard-next/shipping/components/ShippingZonesListPage/ShippingZonesListPage.tsxindex 45042f23c3..f63fddfe14 100644--- a/saleor/static/dashboard-next/shipping/components/ShippingZonesListPage/ShippingZonesListPage.tsx+++ b/saleor/static/dashboard-next/shipping/components/ShippingZonesListPage/ShippingZonesListPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/shipping/index.tsx b/saleor/static/dashboard-next/shipping/index.tsxindex ca38149efe..6ba390e46c 100644--- a/saleor/static/dashboard-next/shipping/index.tsx+++ b/saleor/static/dashboard-next/shipping/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/shipping/urls.ts b/saleor/static/dashboard-next/shipping/urls.tsindex c622da0a7a..be4d3d316c 100644--- a/saleor/static/dashboard-next/shipping/urls.ts+++ b/saleor/static/dashboard-next/shipping/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { BulkAction, Dialog, Pagination, SingleAction } from "../types";import { ShippingMethodTypeEnum } from "../types/globalTypes";diff --git a/saleor/static/dashboard-next/shipping/views/ShippingZoneCreate.tsx b/saleor/static/dashboard-next/shipping/views/ShippingZoneCreate.tsxindex f185d026b8..b474dfdeac 100644--- a/saleor/static/dashboard-next/shipping/views/ShippingZoneCreate.tsx+++ b/saleor/static/dashboard-next/shipping/views/ShippingZoneCreate.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/ShippingZoneDetailsDialogs.tsx b/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/ShippingZoneDetailsDialogs.tsxindex 228ff00632..48173f1966 100644--- a/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/ShippingZoneDetailsDialogs.tsx+++ b/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/ShippingZoneDetailsDialogs.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";diff --git a/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/ShippingZoneOperations.tsx b/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/ShippingZoneOperations.tsxindex 59d3909ad1..bf7e0ca1a0 100644--- a/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/ShippingZoneOperations.tsx+++ b/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/ShippingZoneOperations.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { getMutationProviderData } from "../../../misc";import { PartialMutationProviderOutput } from "../../../types";diff --git a/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/index.tsx b/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/index.tsxindex e898c01137..46b72770ed 100644--- a/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/index.tsx+++ b/saleor/static/dashboard-next/shipping/views/ShippingZoneDetails/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/shipping/views/ShippingZonesList.tsx b/saleor/static/dashboard-next/shipping/views/ShippingZonesList.tsxindex 1debefce24..6559a4fa9c 100644--- a/saleor/static/dashboard-next/shipping/views/ShippingZonesList.tsx+++ b/saleor/static/dashboard-next/shipping/views/ShippingZonesList.tsx@@ -1,7 +1,7 @@import DialogContentText from "@material-ui/core/DialogContentText";import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import useBulkActions from "@saleor/hooks/useBulkActions";diff --git a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsDetails/SiteSettingsDetails.tsx b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsDetails/SiteSettingsDetails.tsxindex 136f9c1be9..f3cf77d2b0 100644--- a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsDetails/SiteSettingsDetails.tsx+++ b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsDetails/SiteSettingsDetails.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import FormSpacer from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsKeyDialog/SiteSettingsKeyDialog.tsx b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsKeyDialog/SiteSettingsKeyDialog.tsxindex 37c0bdab07..8c4a60285d 100644--- a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsKeyDialog/SiteSettingsKeyDialog.tsx+++ b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsKeyDialog/SiteSettingsKeyDialog.tsx@@ -4,7 +4,7 @@ import DialogActions from "@material-ui/core/DialogActions";import DialogContent from "@material-ui/core/DialogContent";import DialogTitle from "@material-ui/core/DialogTitle";import TextField from "@material-ui/core/TextField";-import * as React from "react";+import React from "react";import Form, { FormProps } from "@saleor/components/Form";import { FormSpacer } from "@saleor/components/FormSpacer";diff --git a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsKeys/SiteSettingsKeys.tsx b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsKeys/SiteSettingsKeys.tsxindex 8dcbd39c0e..0a22686fdc 100644--- a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsKeys/SiteSettingsKeys.tsx+++ b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsKeys/SiteSettingsKeys.tsx@@ -13,7 +13,7 @@ import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";import DeleteIcon from "@material-ui/icons/Delete";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsPage/SiteSettingsPage.tsx b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsPage/SiteSettingsPage.tsxindex 9bc9a96941..5cfa4c6f31 100644--- a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsPage/SiteSettingsPage.tsx+++ b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsPage/SiteSettingsPage.tsx@@ -1,5 +1,5 @@import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";diff --git a/saleor/static/dashboard-next/siteSettings/index.tsx b/saleor/static/dashboard-next/siteSettings/index.tsxindex 14598e14cd..3d83171f78 100644--- a/saleor/static/dashboard-next/siteSettings/index.tsx+++ b/saleor/static/dashboard-next/siteSettings/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps } from "react-router-dom";import { siteSettingsPath, SiteSettingsUrlQueryParams } from "./urls";diff --git a/saleor/static/dashboard-next/siteSettings/views/index.tsx b/saleor/static/dashboard-next/siteSettings/views/index.tsxindex b0db5c7ea4..a1032f38ed 100644--- a/saleor/static/dashboard-next/siteSettings/views/index.tsx+++ b/saleor/static/dashboard-next/siteSettings/views/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { WindowTitle } from "@saleor/components/WindowTitle";import useNavigator from "@saleor/hooks/useNavigator";diff --git a/saleor/static/dashboard-next/staff/components/StaffAddMemberDialog/StaffAddMemberDialog.tsx b/saleor/static/dashboard-next/staff/components/StaffAddMemberDialog/StaffAddMemberDialog.tsxindex 0d97ee9b05..f4d218a5b2 100644--- a/saleor/static/dashboard-next/staff/components/StaffAddMemberDialog/StaffAddMemberDialog.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffAddMemberDialog/StaffAddMemberDialog.tsx@@ -11,7 +11,7 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/staff/components/StaffDetailsPage/StaffDetailsPage.tsx b/saleor/static/dashboard-next/staff/components/StaffDetailsPage/StaffDetailsPage.tsxindex 9083b22a06..7156935e34 100644--- a/saleor/static/dashboard-next/staff/components/StaffDetailsPage/StaffDetailsPage.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffDetailsPage/StaffDetailsPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/staff/components/StaffList/StaffList.tsx b/saleor/static/dashboard-next/staff/components/StaffList/StaffList.tsxindex 0216dd234a..f044ffd901 100644--- a/saleor/static/dashboard-next/staff/components/StaffList/StaffList.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffList/StaffList.tsx@@ -12,8 +12,8 @@ import TableFooter from "@material-ui/core/TableFooter";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";import Typography from "@material-ui/core/Typography";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import Skeleton from "@saleor/components/Skeleton";import TablePagination from "@saleor/components/TablePagination";diff --git a/saleor/static/dashboard-next/staff/components/StaffListPage/StaffListPage.tsx b/saleor/static/dashboard-next/staff/components/StaffListPage/StaffListPage.tsxindex b5a5f0fd1c..9aabdf9490 100644--- a/saleor/static/dashboard-next/staff/components/StaffListPage/StaffListPage.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffListPage/StaffListPage.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { Container } from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/staff/components/StaffPermissions/StaffPermissions.tsx b/saleor/static/dashboard-next/staff/components/StaffPermissions/StaffPermissions.tsxindex f992b60510..d67db42a23 100644--- a/saleor/static/dashboard-next/staff/components/StaffPermissions/StaffPermissions.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffPermissions/StaffPermissions.tsx@@ -7,7 +7,7 @@ import {WithStyles} from "@material-ui/core/styles";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { ControlledCheckbox } from "@saleor/components/ControlledCheckbox";diff --git a/saleor/static/dashboard-next/staff/components/StaffProperties/StaffProperties.tsx b/saleor/static/dashboard-next/staff/components/StaffProperties/StaffProperties.tsxindex 5f0d6f712e..64c2a05f14 100644--- a/saleor/static/dashboard-next/staff/components/StaffProperties/StaffProperties.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffProperties/StaffProperties.tsx@@ -8,7 +8,7 @@ import {} from "@material-ui/core/styles";import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import SVG from "react-inlinesvg";import CardTitle from "@saleor/components/CardTitle";@@ -16,7 +16,7 @@ import i18n from "../../../i18n";import { getUserInitials, maybe } from "../../../misc";import { StaffMemberDetails_user } from "../../types/StaffMemberDetails";-import * as photoIcon from "../../../../images/photo-icon.svg";+import photoIcon from "../../../../images/photo-icon.svg";const styles = (theme: Theme) =>createStyles({diff --git a/saleor/static/dashboard-next/staff/components/StaffStatus/StaffStatus.tsx b/saleor/static/dashboard-next/staff/components/StaffStatus/StaffStatus.tsxindex 20fab8d682..a988d888a5 100644--- a/saleor/static/dashboard-next/staff/components/StaffStatus/StaffStatus.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffStatus/StaffStatus.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import { ControlledCheckbox } from "@saleor/components/ControlledCheckbox";diff --git a/saleor/static/dashboard-next/staff/fixtures.ts b/saleor/static/dashboard-next/staff/fixtures.tsindex 9141f284f0..03c4ef5d95 100644--- a/saleor/static/dashboard-next/staff/fixtures.ts+++ b/saleor/static/dashboard-next/staff/fixtures.ts@@ -1,4 +1,4 @@-import * as avatarImage from "../../images/avatars/avatar1.png";+import avatarImage from "../../images/avatars/avatar1.png";import { PermissionEnum } from "../types/globalTypes";import { StaffList_staffUsers_edges_node } from "./types/StaffList";import { StaffMemberDetails_user } from "./types/StaffMemberDetails";diff --git a/saleor/static/dashboard-next/staff/index.tsx b/saleor/static/dashboard-next/staff/index.tsxindex 5413b59959..66dea74b04 100644--- a/saleor/static/dashboard-next/staff/index.tsx+++ b/saleor/static/dashboard-next/staff/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/staff/urls.ts b/saleor/static/dashboard-next/staff/urls.tsindex 56c2211a69..4508afdfd0 100644--- a/saleor/static/dashboard-next/staff/urls.ts+++ b/saleor/static/dashboard-next/staff/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";import { BulkAction, Dialog, Pagination } from "../types";diff --git a/saleor/static/dashboard-next/staff/views/StaffDetails.tsx b/saleor/static/dashboard-next/staff/views/StaffDetails.tsxindex 9dfb773125..e71e67f9a1 100644--- a/saleor/static/dashboard-next/staff/views/StaffDetails.tsx+++ b/saleor/static/dashboard-next/staff/views/StaffDetails.tsx@@ -1,5 +1,5 @@import DialogContentText from "@material-ui/core/DialogContentText";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import { WindowTitle } from "@saleor/components/WindowTitle";diff --git a/saleor/static/dashboard-next/staff/views/StaffList.tsx b/saleor/static/dashboard-next/staff/views/StaffList.tsxindex 4a33bfbc45..eb3d94f50f 100644--- a/saleor/static/dashboard-next/staff/views/StaffList.tsx+++ b/saleor/static/dashboard-next/staff/views/StaffList.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/storybook/CardDecorator.tsx b/saleor/static/dashboard-next/storybook/CardDecorator.tsxindex e00a374814..f94b6ea87d 100644--- a/saleor/static/dashboard-next/storybook/CardDecorator.tsx+++ b/saleor/static/dashboard-next/storybook/CardDecorator.tsx@@ -1,6 +1,6 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";-import * as React from "react";+import React from "react";const CardDecorator = storyFn => (<Carddiff --git a/saleor/static/dashboard-next/storybook/Decorator.tsx b/saleor/static/dashboard-next/storybook/Decorator.tsxindex beb127ca68..fc1b0497e0 100644--- a/saleor/static/dashboard-next/storybook/Decorator.tsx+++ b/saleor/static/dashboard-next/storybook/Decorator.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { Provider as DateProvider } from "../components/Date/DateContext";import { FormProvider } from "../components/Form";diff --git a/saleor/static/dashboard-next/storybook/Stories.test.ts b/saleor/static/dashboard-next/storybook/Stories.test.tsindex 197179e68d..2264853223 100644--- a/saleor/static/dashboard-next/storybook/Stories.test.ts+++ b/saleor/static/dashboard-next/storybook/Stories.test.ts@@ -1,9 +1,9 @@import createGenerateClassName from "@material-ui/core/styles/createGenerateClassName";import initStoryshots from "@storybook/addon-storyshots";// tslint:disable no-submodule-imports-import * as generateRandomKey from "draft-js/lib/generateRandomKey";+import generateRandomKey from "draft-js/lib/generateRandomKey";import { configure, render } from "enzyme";-import * as Adapter from "enzyme-adapter-react-16";+import Adapter from "enzyme-adapter-react-16";import toJSON from "enzyme-to-json";configure({ adapter: new Adapter() });diff --git a/saleor/static/dashboard-next/storybook/mock.tsx b/saleor/static/dashboard-next/storybook/mock.tsxindex b557db0da0..a977fd8fee 100644--- a/saleor/static/dashboard-next/storybook/mock.tsx+++ b/saleor/static/dashboard-next/storybook/mock.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";interface ChoiceProviderProps {children: ((diff --git a/saleor/static/dashboard-next/storybook/stories/auth/LoginLoading.tsx b/saleor/static/dashboard-next/storybook/stories/auth/LoginLoading.tsxindex 497def5ddf..a3cb8fb092 100644--- a/saleor/static/dashboard-next/storybook/stories/auth/LoginLoading.tsx+++ b/saleor/static/dashboard-next/storybook/stories/auth/LoginLoading.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import LoginLoading from "../../../auth/components/LoginLoading";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/auth/LoginPage.tsx b/saleor/static/dashboard-next/storybook/stories/auth/LoginPage.tsxindex 5300393f17..65185dc28a 100644--- a/saleor/static/dashboard-next/storybook/stories/auth/LoginPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/auth/LoginPage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import LoginPage, { LoginCardProps } from "../../../auth/components/LoginPage";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/categories/CategoryCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/categories/CategoryCreatePage.tsxindex 1366ec42e3..3ae1aa1873 100644--- a/saleor/static/dashboard-next/storybook/stories/categories/CategoryCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/categories/CategoryCreatePage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CategoryCreatePage, {CategoryCreatePagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/categories/CategoryListPage.tsx b/saleor/static/dashboard-next/storybook/stories/categories/CategoryListPage.tsxindex 2e87c7d726..4fa8057099 100644--- a/saleor/static/dashboard-next/storybook/stories/categories/CategoryListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/categories/CategoryListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CategoryListPage from "../../../categories/components/CategoryListPage";import { categories } from "../../../categories/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/categories/CategoryProducts.tsx b/saleor/static/dashboard-next/storybook/stories/categories/CategoryProducts.tsxindex 500e7ebb89..7a0cd6f1c6 100644--- a/saleor/static/dashboard-next/storybook/stories/categories/CategoryProducts.tsx+++ b/saleor/static/dashboard-next/storybook/stories/categories/CategoryProducts.tsx@@ -1,7 +1,7 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholder from "../../../../images/placeholder60x60.png";+import placeholder from "../../../../images/placeholder60x60.png";import CategoryProducts from "../../../categories/components/CategoryProducts";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/categories/CategoryUpdatePage.tsx b/saleor/static/dashboard-next/storybook/stories/categories/CategoryUpdatePage.tsxindex 2b797457a7..fb1f5dbec7 100644--- a/saleor/static/dashboard-next/storybook/stories/categories/CategoryUpdatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/categories/CategoryUpdatePage.tsx@@ -1,7 +1,7 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";-import * as placeholderImage from "../../../../images/placeholder255x255.png";+import React from "react";+import placeholderImage from "../../../../images/placeholder255x255.png";import { category as categoryFixture } from "../../../categories/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/collections/CollectionCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/collections/CollectionCreatePage.tsxindex 730e3115a4..672dfe27fa 100644--- a/saleor/static/dashboard-next/storybook/stories/collections/CollectionCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/collections/CollectionCreatePage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CollectionCreatePage, {CollectionCreatePagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/collections/CollectionDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/collections/CollectionDetailsPage.tsxindex b802dcdafb..a270d5f3a2 100644--- a/saleor/static/dashboard-next/storybook/stories/collections/CollectionDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/collections/CollectionDetailsPage.tsx@@ -1,9 +1,9 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderCollectionImage from "../../../../images/block1.jpg";-import * as placeholderProductImage from "../../../../images/placeholder60x60.png";+import placeholderCollectionImage from "../../../../images/block1.jpg";+import placeholderProductImage from "../../../../images/placeholder60x60.png";import CollectionDetailsPage, {CollectionDetailsPageProps} from "../../../collections/components/CollectionDetailsPage";diff --git a/saleor/static/dashboard-next/storybook/stories/collections/CollectionListPage.tsx b/saleor/static/dashboard-next/storybook/stories/collections/CollectionListPage.tsxindex ee5d874332..cc0e44a4d5 100644--- a/saleor/static/dashboard-next/storybook/stories/collections/CollectionListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/collections/CollectionListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CollectionListPage, {CollectionListPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/components/ActionDialog.tsx b/saleor/static/dashboard-next/storybook/stories/components/ActionDialog.tsxindex 85c4441977..21f638494d 100644--- a/saleor/static/dashboard-next/storybook/stories/components/ActionDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/ActionDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ActionDialog from "@saleor/components/ActionDialog";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/AddressEdit.tsx b/saleor/static/dashboard-next/storybook/stories/components/AddressEdit.tsxindex 76ba17e98c..33be7ec699 100644--- a/saleor/static/dashboard-next/storybook/stories/components/AddressEdit.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/AddressEdit.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import AddressEdit from "@saleor/components/AddressEdit";import { customer } from "../../../customers/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/components/AddressFormatter.tsx b/saleor/static/dashboard-next/storybook/stories/components/AddressFormatter.tsxindex de10f49e75..4a60ce6db4 100644--- a/saleor/static/dashboard-next/storybook/stories/components/AddressFormatter.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/AddressFormatter.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import AddressFormatter from "@saleor/components/AddressFormatter";import { customer } from "../../../customers/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/components/AutocompleteSelectMenu.tsx b/saleor/static/dashboard-next/storybook/stories/components/AutocompleteSelectMenu.tsxindex 83893dfcb7..2fffc09fbc 100644--- a/saleor/static/dashboard-next/storybook/stories/components/AutocompleteSelectMenu.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/AutocompleteSelectMenu.tsx@@ -1,7 +1,7 @@import Card from "@material-ui/core/Card";import CardContent from "@material-ui/core/CardContent";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import AutocompleteSelectMenu, {AutocompleteSelectMenuPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/components/CardMenu.tsx b/saleor/static/dashboard-next/storybook/stories/components/CardMenu.tsxindex 25a74df590..b88ab042db 100644--- a/saleor/static/dashboard-next/storybook/stories/components/CardMenu.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/CardMenu.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CardMenu, { CardMenuItem } from "@saleor/components/CardMenu";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/Checkbox.tsx b/saleor/static/dashboard-next/storybook/stories/components/Checkbox.tsxindex b3d813f4f1..562d6420b7 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Checkbox.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Checkbox.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Checkbox, { CheckboxProps } from "@saleor/components/Checkbox";import Form from "@saleor/components/Form";diff --git a/saleor/static/dashboard-next/storybook/stories/components/Chip.tsx b/saleor/static/dashboard-next/storybook/stories/components/Chip.tsxindex c31ab815b1..315b2613b5 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Chip.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Chip.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Chip, { ChipProps } from "@saleor/components/Chip";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/Date.tsx b/saleor/static/dashboard-next/storybook/stories/components/Date.tsxindex 865cd67c4c..d805db2236 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Date.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Date.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Date from "@saleor/components/Date";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/DateTime.tsx b/saleor/static/dashboard-next/storybook/stories/components/DateTime.tsxindex 8d6203ea9e..9a2f45a7b8 100644--- a/saleor/static/dashboard-next/storybook/stories/components/DateTime.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/DateTime.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { DateTime } from "@saleor/components/Date";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/DeleteFilterTabDialog.tsx b/saleor/static/dashboard-next/storybook/stories/components/DeleteFilterTabDialog.tsxindex aa52603c74..c7fc73b2fb 100644--- a/saleor/static/dashboard-next/storybook/stories/components/DeleteFilterTabDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/DeleteFilterTabDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import DeleteFilterTabDialog, {DeleteFilterTabDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/components/EditableTableCell.tsx b/saleor/static/dashboard-next/storybook/stories/components/EditableTableCell.tsxindex 030cf0ab16..e9d7a87e43 100644--- a/saleor/static/dashboard-next/storybook/stories/components/EditableTableCell.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/EditableTableCell.tsx@@ -4,7 +4,7 @@ import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import EditableTableCell from "@saleor/components/EditableTableCell";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/ErrorMessageCard.tsx b/saleor/static/dashboard-next/storybook/stories/components/ErrorMessageCard.tsxindex 197ebc4958..b8b59c1d6c 100644--- a/saleor/static/dashboard-next/storybook/stories/components/ErrorMessageCard.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/ErrorMessageCard.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ErrorMessageCard from "@saleor/components/ErrorMessageCard";diff --git a/saleor/static/dashboard-next/storybook/stories/components/ErrorPage.tsx b/saleor/static/dashboard-next/storybook/stories/components/ErrorPage.tsxindex 9b31cc405e..8333466643 100644--- a/saleor/static/dashboard-next/storybook/stories/components/ErrorPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/ErrorPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { Omit } from "@material-ui/core";import ErrorPage, { ErrorPageProps } from "@saleor/components/ErrorPage";diff --git a/saleor/static/dashboard-next/storybook/stories/components/ExternalLink.tsx b/saleor/static/dashboard-next/storybook/stories/components/ExternalLink.tsxindex 2564425ae8..8ffe4304cc 100644--- a/saleor/static/dashboard-next/storybook/stories/components/ExternalLink.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/ExternalLink.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ExternalLink from "@saleor/components/ExternalLink";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/FileUpload.tsx b/saleor/static/dashboard-next/storybook/stories/components/FileUpload.tsxindex 9d3ded8070..cd7cbab193 100644--- a/saleor/static/dashboard-next/storybook/stories/components/FileUpload.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/FileUpload.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import FileUpload from "@saleor/components/FileUpload";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/Filter.tsx b/saleor/static/dashboard-next/storybook/stories/components/Filter.tsxindex 3145d6058c..96cbf23de6 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Filter.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Filter.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import {FieldType,diff --git a/saleor/static/dashboard-next/storybook/stories/components/Money.tsx b/saleor/static/dashboard-next/storybook/stories/components/Money.tsxindex 8834d9ec09..04c5d21c57 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Money.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Money.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Money, { MoneyProps } from "@saleor/components/Money";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/MoneyRange.tsx b/saleor/static/dashboard-next/storybook/stories/components/MoneyRange.tsxindex 8e2bc59b20..128ce7bee5 100644--- a/saleor/static/dashboard-next/storybook/stories/components/MoneyRange.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/MoneyRange.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import MoneyRange, { MoneyRangeProps } from "@saleor/components/MoneyRange";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/MultiAutocompleteSelectField.tsx b/saleor/static/dashboard-next/storybook/stories/components/MultiAutocompleteSelectField.tsxindex 0df2a0860b..3aa63f0d43 100644--- a/saleor/static/dashboard-next/storybook/stories/components/MultiAutocompleteSelectField.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/MultiAutocompleteSelectField.tsx@@ -2,7 +2,7 @@ import IconButton from "@material-ui/core/IconButton";import Typography from "@material-ui/core/Typography";import DeleteIcon from "@material-ui/icons/Close";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Form from "@saleor/components/Form";import MultiAutocompleteSelectField, {diff --git a/saleor/static/dashboard-next/storybook/stories/components/MultiSelectField.tsx b/saleor/static/dashboard-next/storybook/stories/components/MultiSelectField.tsxindex 010e17f57b..4b5b4dc6c7 100644--- a/saleor/static/dashboard-next/storybook/stories/components/MultiSelectField.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/MultiSelectField.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Form from "@saleor/components/Form";import MultiSelectField from "@saleor/components/MultiSelectField";diff --git a/saleor/static/dashboard-next/storybook/stories/components/NotFoundPage.tsx b/saleor/static/dashboard-next/storybook/stories/components/NotFoundPage.tsxindex 9c93da056f..80181d0ba1 100644--- a/saleor/static/dashboard-next/storybook/stories/components/NotFoundPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/NotFoundPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import NotFoundPage from "@saleor/components/NotFoundPage";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/PageHeader.tsx b/saleor/static/dashboard-next/storybook/stories/components/PageHeader.tsxindex da3b4d4fe7..45f10d7f16 100644--- a/saleor/static/dashboard-next/storybook/stories/components/PageHeader.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/PageHeader.tsx@@ -1,7 +1,7 @@import IconButton from "@material-ui/core/IconButton";import DeleteIcon from "@material-ui/icons/Delete";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import PageHeader from "@saleor/components/PageHeader";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/Percent.tsx b/saleor/static/dashboard-next/storybook/stories/components/Percent.tsxindex 6fafe1307b..517e0651c5 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Percent.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Percent.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Percent from "@saleor/components/Percent";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/PhoneField.tsx b/saleor/static/dashboard-next/storybook/stories/components/PhoneField.tsxindex 87b74256d1..1d43ddbdc9 100644--- a/saleor/static/dashboard-next/storybook/stories/components/PhoneField.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/PhoneField.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import PhoneField from "@saleor/components/PhoneField";import { prefixes } from "../../../orders/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/components/PriceField.tsx b/saleor/static/dashboard-next/storybook/stories/components/PriceField.tsxindex a290c6d9f9..2464223f28 100644--- a/saleor/static/dashboard-next/storybook/stories/components/PriceField.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/PriceField.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import PriceField from "@saleor/components/PriceField";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/RichTextEditor.tsx b/saleor/static/dashboard-next/storybook/stories/components/RichTextEditor.tsxindex 0ef234585c..9085612c09 100644--- a/saleor/static/dashboard-next/storybook/stories/components/RichTextEditor.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/RichTextEditor.tsx@@ -1,6 +1,6 @@import { storiesOf } from "@storybook/react";import { RawDraftContentState } from "draft-js";-import * as React from "react";+import React from "react";import RichTextEditor from "@saleor/components/RichTextEditor";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/SaveButtonBar.tsx b/saleor/static/dashboard-next/storybook/stories/components/SaveButtonBar.tsxindex 366a75c339..3bd4ee100e 100644--- a/saleor/static/dashboard-next/storybook/stories/components/SaveButtonBar.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/SaveButtonBar.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";import SaveButtonBar from "@saleor/components/SaveButtonBar";diff --git a/saleor/static/dashboard-next/storybook/stories/components/SaveFilterTabDialog.tsx b/saleor/static/dashboard-next/storybook/stories/components/SaveFilterTabDialog.tsxindex d27458028b..f3feac469b 100644--- a/saleor/static/dashboard-next/storybook/stories/components/SaveFilterTabDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/SaveFilterTabDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import SaveFilterTabDialog, {SaveFilterTabDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/components/SingleAutocompleteSelectField.tsx b/saleor/static/dashboard-next/storybook/stories/components/SingleAutocompleteSelectField.tsxindex e57183fb1b..32e8fbc6f3 100644--- a/saleor/static/dashboard-next/storybook/stories/components/SingleAutocompleteSelectField.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/SingleAutocompleteSelectField.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Form from "@saleor/components/Form";import SingleAutocompleteSelectField from "@saleor/components/SingleAutocompleteSelectField";diff --git a/saleor/static/dashboard-next/storybook/stories/components/SingleSelectField.tsx b/saleor/static/dashboard-next/storybook/stories/components/SingleSelectField.tsxindex 1860d816d5..56d815f2dd 100644--- a/saleor/static/dashboard-next/storybook/stories/components/SingleSelectField.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/SingleSelectField.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import SingleSelectField from "@saleor/components/SingleSelectField";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/Skeleton.tsx b/saleor/static/dashboard-next/storybook/stories/components/Skeleton.tsxindex a7f5ae9362..eaf8ee47e4 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Skeleton.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Skeleton.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Skeleton from "@saleor/components/Skeleton";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/StatusLabel.tsx b/saleor/static/dashboard-next/storybook/stories/components/StatusLabel.tsxindex 94cab9a589..633459ff13 100644--- a/saleor/static/dashboard-next/storybook/stories/components/StatusLabel.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/StatusLabel.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import StatusLabel from "@saleor/components/StatusLabel";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/TablePagination.tsx b/saleor/static/dashboard-next/storybook/stories/components/TablePagination.tsxindex f7badbc453..9151647ee1 100644--- a/saleor/static/dashboard-next/storybook/stories/components/TablePagination.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/TablePagination.tsx@@ -1,6 +1,6 @@import Table from "@material-ui/core/Table";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import TablePagination from "@saleor/components/TablePagination";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/Timeline.tsx b/saleor/static/dashboard-next/storybook/stories/components/Timeline.tsxindex a7cdea5032..adc57548f5 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Timeline.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Timeline.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Timeline, {TimelineEvent,diff --git a/saleor/static/dashboard-next/storybook/stories/components/Weight.tsx b/saleor/static/dashboard-next/storybook/stories/components/Weight.tsxindex 7802c168f5..64435de694 100644--- a/saleor/static/dashboard-next/storybook/stories/components/Weight.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/Weight.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import Weight, { WeightProps } from "@saleor/components/Weight";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/WeightRange.tsx b/saleor/static/dashboard-next/storybook/stories/components/WeightRange.tsxindex 5da6c0bcf3..c3b5649254 100644--- a/saleor/static/dashboard-next/storybook/stories/components/WeightRange.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/WeightRange.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import WeightRange, { WeightRangeProps } from "@saleor/components/WeightRange";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/components/messages.tsx b/saleor/static/dashboard-next/storybook/stories/components/messages.tsxindex 9740e96ce6..6e3dbee451 100644--- a/saleor/static/dashboard-next/storybook/stories/components/messages.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/messages.tsx@@ -1,6 +1,6 @@import Button from "@material-ui/core/Button";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import useNotifier from "@saleor/hooks/useNotifier";import CardDecorator from "../../CardDecorator";diff --git a/saleor/static/dashboard-next/storybook/stories/configuration/ConfigurationPage.tsx b/saleor/static/dashboard-next/storybook/stories/configuration/ConfigurationPage.tsxindex 177397200c..1ece849123 100644--- a/saleor/static/dashboard-next/storybook/stories/configuration/ConfigurationPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/configuration/ConfigurationPage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { configurationMenu } from "../../../configuration";import ConfigurationPage, {diff --git a/saleor/static/dashboard-next/storybook/stories/customers/CustomerAddressDialog.tsx b/saleor/static/dashboard-next/storybook/stories/customers/CustomerAddressDialog.tsxindex 6ac535c5ac..73ce77a437 100644--- a/saleor/static/dashboard-next/storybook/stories/customers/CustomerAddressDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/customers/CustomerAddressDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CustomerAddressDialog, {CustomerAddressDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/customers/CustomerAddressListPage.tsx b/saleor/static/dashboard-next/storybook/stories/customers/CustomerAddressListPage.tsxindex 8ca0a246cf..1874dc50f6 100644--- a/saleor/static/dashboard-next/storybook/stories/customers/CustomerAddressListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/customers/CustomerAddressListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CustomerAddressListPage, {CustomerAddressListPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/customers/CustomerCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/customers/CustomerCreatePage.tsxindex 6d5117f768..d5e83f3886 100644--- a/saleor/static/dashboard-next/storybook/stories/customers/CustomerCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/customers/CustomerCreatePage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CustomerCreatePage, {CustomerCreatePageFormData,diff --git a/saleor/static/dashboard-next/storybook/stories/customers/CustomerDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/customers/CustomerDetailsPage.tsxindex 5303561fb0..e5086b83a0 100644--- a/saleor/static/dashboard-next/storybook/stories/customers/CustomerDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/customers/CustomerDetailsPage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CustomerDetailsPage, {CustomerDetailsPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/customers/CustomerListPage.tsx b/saleor/static/dashboard-next/storybook/stories/customers/CustomerListPage.tsxindex d96c22d439..cfa8e462ed 100644--- a/saleor/static/dashboard-next/storybook/stories/customers/CustomerListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/customers/CustomerListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CustomerListPage, {CustomerListPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/discounts/DiscountCountrySelectDialog.tsx b/saleor/static/dashboard-next/storybook/stories/discounts/DiscountCountrySelectDialog.tsxindex d4c8c5df67..db619d65c6 100644--- a/saleor/static/dashboard-next/storybook/stories/discounts/DiscountCountrySelectDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/discounts/DiscountCountrySelectDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import DiscountCountrySelectDialog, {DiscountCountrySelectDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/discounts/SaleCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/discounts/SaleCreatePage.tsxindex 51bbf35bca..acfc278633 100644--- a/saleor/static/dashboard-next/storybook/stories/discounts/SaleCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/discounts/SaleCreatePage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import SaleCreatePage, {SaleCreatePagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/discounts/SaleDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/discounts/SaleDetailsPage.tsxindex 4d8a0003d0..941b49a1e0 100644--- a/saleor/static/dashboard-next/storybook/stories/discounts/SaleDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/discounts/SaleDetailsPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import SaleDetailsPage, {SaleDetailsPageProps,diff --git a/saleor/static/dashboard-next/storybook/stories/discounts/SaleListPage.tsx b/saleor/static/dashboard-next/storybook/stories/discounts/SaleListPage.tsxindex f73b004068..d8b88b81a6 100644--- a/saleor/static/dashboard-next/storybook/stories/discounts/SaleListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/discounts/SaleListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import SaleListPage, {SaleListPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/discounts/VoucherCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/discounts/VoucherCreatePage.tsxindex 624f311e35..40c10d01b4 100644--- a/saleor/static/dashboard-next/storybook/stories/discounts/VoucherCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/discounts/VoucherCreatePage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import VoucherCreatePage, {FormData,diff --git a/saleor/static/dashboard-next/storybook/stories/discounts/VoucherDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/discounts/VoucherDetailsPage.tsxindex c3deee89e8..779731fc10 100644--- a/saleor/static/dashboard-next/storybook/stories/discounts/VoucherDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/discounts/VoucherDetailsPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import VoucherDetailsPage, {FormData,diff --git a/saleor/static/dashboard-next/storybook/stories/discounts/VoucherListPage.tsx b/saleor/static/dashboard-next/storybook/stories/discounts/VoucherListPage.tsxindex 2e01610631..fa10118b07 100644--- a/saleor/static/dashboard-next/storybook/stories/discounts/VoucherListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/discounts/VoucherListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import VoucherListPage, {VoucherListPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/home/HomePage.tsx b/saleor/static/dashboard-next/storybook/stories/home/HomePage.tsxindex e22a9ce417..9b8d2ab4da 100644--- a/saleor/static/dashboard-next/storybook/stories/home/HomePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/home/HomePage.tsx@@ -1,8 +1,8 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder60x60.png";+import placeholderImage from "../../../../images/placeholder60x60.png";import HomePage, { HomePageProps } from "../../../home/components/HomePage";import { shop as shopFixture } from "../../../home/fixtures";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/navigation/MenuCreateDialog.tsx b/saleor/static/dashboard-next/storybook/stories/navigation/MenuCreateDialog.tsxindex 336a9d873f..2ce94adf91 100644--- a/saleor/static/dashboard-next/storybook/stories/navigation/MenuCreateDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/navigation/MenuCreateDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import MenuCreateDialog, {MenuCreateDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/navigation/MenuDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/navigation/MenuDetailsPage.tsxindex d966ecb49e..57c8b2cb6f 100644--- a/saleor/static/dashboard-next/storybook/stories/navigation/MenuDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/navigation/MenuDetailsPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import MenuDetailsPage, {MenuDetailsPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/navigation/MenuItemDialog.tsx b/saleor/static/dashboard-next/storybook/stories/navigation/MenuItemDialog.tsxindex 200790215e..7f505bd89e 100644--- a/saleor/static/dashboard-next/storybook/stories/navigation/MenuItemDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/navigation/MenuItemDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import MenuItemDialog, {MenuItemDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/navigation/MenuListPage.tsx b/saleor/static/dashboard-next/storybook/stories/navigation/MenuListPage.tsxindex 637e139219..712476be59 100644--- a/saleor/static/dashboard-next/storybook/stories/navigation/MenuListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/navigation/MenuListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { listActionsProps, pageListProps } from "../../../fixtures";import MenuListPage, {diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderAddressEditDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderAddressEditDialog.tsxindex a578c8af45..0e5e26bf6d 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderAddressEditDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderAddressEditDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { transformAddressToForm } from "../../../misc";import OrderAddressEditDialog from "../../../orders/components/OrderAddressEditDialog";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderBulkCancelDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderBulkCancelDialog.tsxindex a07a450447..6da64237c0 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderBulkCancelDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderBulkCancelDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderBulkCancelDialog, {OrderBulkCancelDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderCancelDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderCancelDialog.tsxindex 762cbace20..8d97777fd2 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderCancelDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderCancelDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderCancelDialog from "../../../orders/components/OrderCancelDialog";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderCustomer.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderCustomer.tsxindex 20081af0e8..2876593d38 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderCustomer.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderCustomer.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderCustomer, {OrderCustomerPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderCustomerEditDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderCustomerEditDialog.tsxindex 739e244619..824bbd1382 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderCustomerEditDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderCustomerEditDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderCustomerEditDialog from "../../../orders/components/OrderCustomerEditDialog";import { clients as users } from "../../../orders/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsxindex e284c6adc1..19b7bdd91b 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx@@ -1,8 +1,8 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder60x60.png";+import placeholderImage from "../../../../images/placeholder60x60.png";import OrderDetailsPage, {OrderDetailsPageProps} from "../../../orders/components/OrderDetailsPage";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftCancelDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftCancelDialog.tsxindex f9527405c5..919bb54dbb 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftCancelDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftCancelDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderDraftCancelDialog, {OrderDraftCancelDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftFinalizeDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftFinalizeDialog.tsxindex 26dc7b174f..5df866e846 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftFinalizeDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftFinalizeDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderDraftFinalize, {OrderDraftFinalizeDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftListPage.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftListPage.tsxindex 4e7630abe9..7cc1d4596b 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { listActionsProps, pageListProps } from "../../../fixtures";import OrderDraftListPage, {diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftPage.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftPage.tsxindex f33e9bd2da..74d87fa9e8 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderDraftPage.tsx@@ -1,8 +1,8 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder60x60.png";+import placeholderImage from "../../../../images/placeholder60x60.png";import OrderDraftPage, {OrderDraftPageProps} from "../../../orders/components/OrderDraftPage";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentCancelDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentCancelDialog.tsxindex 38f351fe09..75f5ecdbe9 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentCancelDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentCancelDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderFulfillmentCancelDialog from "../../../orders/components/OrderFulfillmentCancelDialog";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentDialog.tsxindex ab88b3c1cf..d9dd2a999f 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentDialog.tsx@@ -1,8 +1,8 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder60x60.png";+import placeholderImage from "../../../../images/placeholder60x60.png";import OrderFulfillmentDialog, {OrderFulfillmentDialogProps} from "../../../orders/components/OrderFulfillmentDialog";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentTrackingDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentTrackingDialog.tsxindex 5ac1844aa4..c4b9ee9412 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentTrackingDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderFulfillmentTrackingDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderFulfillmentTrackingDialog from "../../../orders/components/OrderFulfillmentTrackingDialog";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderHistory.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderHistory.tsxindex 044eed78b6..627d67ddbe 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderHistory.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderHistory.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderHistory from "../../../orders/components/OrderHistory";import { order as orderFixture } from "../../../orders/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsxindex 8d3adaaea8..bdd69d7274 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderListPage, {OrderListPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderMarkAsPaidDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderMarkAsPaidDialog.tsxindex 0cb62fbfda..9e4b1694e9 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderMarkAsPaidDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderMarkAsPaidDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderMarkAsPaidDialog, {OrderMarkAsPaidDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderPaymentDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderPaymentDialog.tsxindex 3840e3679f..7db6d70b52 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderPaymentDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderPaymentDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderPaymentDialog from "../../../orders/components/OrderPaymentDialog";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderPaymentVoidDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderPaymentVoidDialog.tsxindex b3cbfc4b69..ef83301b81 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderPaymentVoidDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderPaymentVoidDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderPaymentVoidDialog from "../../../orders/components/OrderPaymentVoidDialog";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderProductAddDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderProductAddDialog.tsxindex 8ef44c1a62..94a02f50e5 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderProductAddDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderProductAddDialog.tsx@@ -1,7 +1,7 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder60x60.png";+import placeholderImage from "../../../../images/placeholder60x60.png";import OrderProductAddDialog from "../../../orders/components/OrderProductAddDialog";import { orderLineSearch } from "../../../orders/fixtures";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderShippingMethodEditDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderShippingMethodEditDialog.tsxindex b4c40419d9..ca5c3df291 100644--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderShippingMethodEditDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderShippingMethodEditDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import OrderShippingMethodEditDialog from "../../../orders/components/OrderShippingMethodEditDialog";import { order as orderFixture } from "../../../orders/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/pages/PageDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/pages/PageDetailsPage.tsxindex eba481ff70..ff9e0865f7 100644--- a/saleor/static/dashboard-next/storybook/stories/pages/PageDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/pages/PageDetailsPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import PageDetailsPage, {FormData,diff --git a/saleor/static/dashboard-next/storybook/stories/pages/PageListPage.tsx b/saleor/static/dashboard-next/storybook/stories/pages/PageListPage.tsxindex b5c1510609..664eef1211 100644--- a/saleor/static/dashboard-next/storybook/stories/pages/PageListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/pages/PageListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { listActionsProps, pageListProps } from "../../../fixtures";import PageListPage, {diff --git a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeAttributeEditDialog.tsx b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeAttributeEditDialog.tsxindex fa42ee7469..9b091cc9b3 100644--- a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeAttributeEditDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeAttributeEditDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ProductTypeAttributeEditDialog, {ProductTypeAttributeEditDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeCreatePage.tsxindex 764c85d186..6920a9b466 100644--- a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeCreatePage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ProductTypeCreatePage, {ProductTypeCreatePagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeDetailsPage.tsxindex 2ec98eb418..9dccc06e2a 100644--- a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeDetailsPage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ProductTypeDetailsPage, {ProductTypeDetailsPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeListPage.tsx b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeListPage.tsxindex c458e97a79..8d97d165f4 100644--- a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { listActionsProps, pageListProps } from "../../../fixtures";import ProductTypeListPage from "../../../productTypes/components/ProductTypeListPage";diff --git a/saleor/static/dashboard-next/storybook/stories/products/ProductCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/products/ProductCreatePage.tsxindex e54847f64d..63b5fcdd2a 100644--- a/saleor/static/dashboard-next/storybook/stories/products/ProductCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/products/ProductCreatePage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ProductCreatePage, {FormDatadiff --git a/saleor/static/dashboard-next/storybook/stories/products/ProductImagePage.tsx b/saleor/static/dashboard-next/storybook/stories/products/ProductImagePage.tsxindex 8e9fa87d28..2bb00d1520 100644--- a/saleor/static/dashboard-next/storybook/stories/products/ProductImagePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/products/ProductImagePage.tsx@@ -1,7 +1,7 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholder from "../../../../images/placeholder1080x1080.png";+import placeholder from "../../../../images/placeholder1080x1080.png";import ProductImagePage from "../../../products/components/ProductImagePage";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/products/ProductListCard.tsx b/saleor/static/dashboard-next/storybook/stories/products/ProductListCard.tsxindex 12b2de64da..ffddca86fb 100644--- a/saleor/static/dashboard-next/storybook/stories/products/ProductListCard.tsx+++ b/saleor/static/dashboard-next/storybook/stories/products/ProductListCard.tsx@@ -1,7 +1,7 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder255x255.png";+import placeholderImage from "../../../../images/placeholder255x255.png";import { category as categoryFixture } from "../../../categories/fixtures";import {filterPageProps,diff --git a/saleor/static/dashboard-next/storybook/stories/products/ProductUpdatePage.tsx b/saleor/static/dashboard-next/storybook/stories/products/ProductUpdatePage.tsxindex e0497657da..0d1fdefdb8 100644--- a/saleor/static/dashboard-next/storybook/stories/products/ProductUpdatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/products/ProductUpdatePage.tsx@@ -1,7 +1,7 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder255x255.png";+import placeholderImage from "../../../../images/placeholder255x255.png";import { listActionsProps } from "../../../fixtures";import ProductUpdatePage from "../../../products/components/ProductUpdatePage";import { product as productFixture } from "../../../products/fixtures";diff --git a/saleor/static/dashboard-next/storybook/stories/products/ProductVariantCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/products/ProductVariantCreatePage.tsxindex e07f67695c..46e6c91699 100644--- a/saleor/static/dashboard-next/storybook/stories/products/ProductVariantCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/products/ProductVariantCreatePage.tsx@@ -1,7 +1,7 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder255x255.png";+import placeholderImage from "../../../../images/placeholder255x255.png";import ProductVariantCreatePage from "../../../products/components/ProductVariantCreatePage";import { product as productFixture } from "../../../products/fixtures";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/products/ProductVariantImageSelectDialog.tsx b/saleor/static/dashboard-next/storybook/stories/products/ProductVariantImageSelectDialog.tsxindex 384b1e5403..dcc71c2de4 100644--- a/saleor/static/dashboard-next/storybook/stories/products/ProductVariantImageSelectDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/products/ProductVariantImageSelectDialog.tsx@@ -1,7 +1,7 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder255x255.png";+import placeholderImage from "../../../../images/placeholder255x255.png";import ProductVariantImageSelectDialog from "../../../products/components/ProductVariantImageSelectDialog";import {variantImages as variantImagesFixture,diff --git a/saleor/static/dashboard-next/storybook/stories/products/ProductVariantPage.tsx b/saleor/static/dashboard-next/storybook/stories/products/ProductVariantPage.tsxindex fe1db5ddff..3404ae43ad 100644--- a/saleor/static/dashboard-next/storybook/stories/products/ProductVariantPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/products/ProductVariantPage.tsx@@ -1,7 +1,7 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";-import * as placeholderImage from "../../../../images/placeholder60x60.png";+import placeholderImage from "../../../../images/placeholder60x60.png";import ProductVariantPage from "../../../products/components/ProductVariantPage";import { variant as variantFixture } from "../../../products/fixtures";import Decorator from "../../Decorator";diff --git a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneCountriesAssignDialog.tsx b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneCountriesAssignDialog.tsxindex 8782deab25..4c762076fd 100644--- a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneCountriesAssignDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneCountriesAssignDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ShippingZoneCountriesAssignDialog, {ShippingZoneCountriesAssignDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneCreatePage.tsx b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneCreatePage.tsxindex 93e94b73c4..9f4027e752 100644--- a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneCreatePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneCreatePage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ShippingZoneCreatePage, {ShippingZoneCreatePagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneDetailsPage.tsxindex 1b13632320..c8698e2aa7 100644--- a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneDetailsPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ShippingZoneDetailsPage, {ShippingZoneDetailsPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneRateDialog.tsx b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneRateDialog.tsxindex 7dfc5d10b0..989c9d83db 100644--- a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneRateDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZoneRateDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import ShippingZoneRateDialog, {ShippingZoneRateDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZonesListPage.tsx b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZonesListPage.tsxindex beb1af5211..948e77255d 100644--- a/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZonesListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/shipping/ShippingZonesListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { listActionsProps, pageListProps } from "../../../fixtures";import ShippingZonesListPage, {diff --git a/saleor/static/dashboard-next/storybook/stories/siteSettings/SiteSettingsKeyDialog.tsx b/saleor/static/dashboard-next/storybook/stories/siteSettings/SiteSettingsKeyDialog.tsxindex 4283691aa6..a60761b557 100644--- a/saleor/static/dashboard-next/storybook/stories/siteSettings/SiteSettingsKeyDialog.tsx+++ b/saleor/static/dashboard-next/storybook/stories/siteSettings/SiteSettingsKeyDialog.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import SiteSettingsKeyDialog, {SiteSettingsKeyDialogPropsdiff --git a/saleor/static/dashboard-next/storybook/stories/siteSettings/SiteSettingsPage.tsx b/saleor/static/dashboard-next/storybook/stories/siteSettings/SiteSettingsPage.tsxindex 8e525dbfed..66c3e62ee2 100644--- a/saleor/static/dashboard-next/storybook/stories/siteSettings/SiteSettingsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/siteSettings/SiteSettingsPage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import SiteSettingsPage, {SiteSettingsPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/staff/StaffDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/staff/StaffDetailsPage.tsxindex 61bde9f12e..6a19ea26b3 100644--- a/saleor/static/dashboard-next/storybook/stories/staff/StaffDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/staff/StaffDetailsPage.tsx@@ -1,6 +1,6 @@import { Omit } from "@material-ui/core";import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import StaffDetailsPage, {StaffDetailsPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/staff/StaffListPage.tsx b/saleor/static/dashboard-next/storybook/stories/staff/StaffListPage.tsxindex d6c9aa1190..95edeb46fc 100644--- a/saleor/static/dashboard-next/storybook/stories/staff/StaffListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/staff/StaffListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { pageListProps } from "../../../fixtures";import StaffListPage, {diff --git a/saleor/static/dashboard-next/storybook/stories/taxes/CountryListPage.tsx b/saleor/static/dashboard-next/storybook/stories/taxes/CountryListPage.tsxindex 1124ed553b..cfb686c4f8 100644--- a/saleor/static/dashboard-next/storybook/stories/taxes/CountryListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/taxes/CountryListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { pageListProps } from "../../../fixtures";import CountryListPage, {diff --git a/saleor/static/dashboard-next/storybook/stories/taxes/CountryTaxesPage.tsx b/saleor/static/dashboard-next/storybook/stories/taxes/CountryTaxesPage.tsxindex 3d701d6b12..4a93bd8fad 100644--- a/saleor/static/dashboard-next/storybook/stories/taxes/CountryTaxesPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/taxes/CountryTaxesPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import CountryTaxesPage, {CountryTaxesPagePropsdiff --git a/saleor/static/dashboard-next/storybook/stories/translations/TranslationsEntitiesListPage.tsx b/saleor/static/dashboard-next/storybook/stories/translations/TranslationsEntitiesListPage.tsxindex 2bdb320f41..1dd1cba508 100644--- a/saleor/static/dashboard-next/storybook/stories/translations/TranslationsEntitiesListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/translations/TranslationsEntitiesListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import { pageListProps } from "../../../fixtures";import TranslationsEntitiesList from "../../../translations/components/TranslationsEntitiesList";diff --git a/saleor/static/dashboard-next/storybook/stories/translations/TranslationsLanguageListPage.tsx b/saleor/static/dashboard-next/storybook/stories/translations/TranslationsLanguageListPage.tsxindex 230488b9b4..6dd71fe0af 100644--- a/saleor/static/dashboard-next/storybook/stories/translations/TranslationsLanguageListPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/translations/TranslationsLanguageListPage.tsx@@ -1,5 +1,5 @@import { storiesOf } from "@storybook/react";-import * as React from "react";+import React from "react";import TranslationsLanguageListPage, {TranslationsLanguageListPagePropsdiff --git a/saleor/static/dashboard-next/taxes/components/CountryList/CountryList.tsx b/saleor/static/dashboard-next/taxes/components/CountryList/CountryList.tsxindex 3195480efd..0af6a69eb5 100644--- a/saleor/static/dashboard-next/taxes/components/CountryList/CountryList.tsx+++ b/saleor/static/dashboard-next/taxes/components/CountryList/CountryList.tsx@@ -5,8 +5,8 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import Skeleton from "@saleor/components/Skeleton";import i18n from "../../../i18n";diff --git a/saleor/static/dashboard-next/taxes/components/CountryListPage/CountryListPage.tsx b/saleor/static/dashboard-next/taxes/components/CountryListPage/CountryListPage.tsxindex 3af7d92cdf..a9ca634817 100644--- a/saleor/static/dashboard-next/taxes/components/CountryListPage/CountryListPage.tsx+++ b/saleor/static/dashboard-next/taxes/components/CountryListPage/CountryListPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { Container } from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/taxes/components/CountryTaxesPage/CountryTaxesPage.tsx b/saleor/static/dashboard-next/taxes/components/CountryTaxesPage/CountryTaxesPage.tsxindex 959d5b082b..0acfd42d59 100644--- a/saleor/static/dashboard-next/taxes/components/CountryTaxesPage/CountryTaxesPage.tsx+++ b/saleor/static/dashboard-next/taxes/components/CountryTaxesPage/CountryTaxesPage.tsx@@ -5,7 +5,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import { Container } from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/taxes/components/TaxConfiguration/TaxConfiguration.tsx b/saleor/static/dashboard-next/taxes/components/TaxConfiguration/TaxConfiguration.tsxindex 9383b15a2a..483678efca 100644--- a/saleor/static/dashboard-next/taxes/components/TaxConfiguration/TaxConfiguration.tsx+++ b/saleor/static/dashboard-next/taxes/components/TaxConfiguration/TaxConfiguration.tsx@@ -3,7 +3,7 @@ import Card from "@material-ui/core/Card";import CardActions from "@material-ui/core/CardActions";import CardContent from "@material-ui/core/CardContent";import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import CardTitle from "@saleor/components/CardTitle";import ControlledSwitch from "@saleor/components/ControlledSwitch";diff --git a/saleor/static/dashboard-next/taxes/index.tsx b/saleor/static/dashboard-next/taxes/index.tsxindex 8cb67fc24e..3768609d14 100644--- a/saleor/static/dashboard-next/taxes/index.tsx+++ b/saleor/static/dashboard-next/taxes/index.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/taxes/urls.ts b/saleor/static/dashboard-next/taxes/urls.tsindex caedb736c4..76446ee904 100644--- a/saleor/static/dashboard-next/taxes/urls.ts+++ b/saleor/static/dashboard-next/taxes/urls.ts@@ -1,4 +1,4 @@-import * as urlJoin from "url-join";+import urlJoin from "url-join";export const taxSection = "/taxes/";diff --git a/saleor/static/dashboard-next/taxes/views/CountryList.tsx b/saleor/static/dashboard-next/taxes/views/CountryList.tsxindex a4d86e76f9..33cc3b3627 100644--- a/saleor/static/dashboard-next/taxes/views/CountryList.tsx+++ b/saleor/static/dashboard-next/taxes/views/CountryList.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import { configurationMenuUrl } from "../../configuration";diff --git a/saleor/static/dashboard-next/taxes/views/CountryTaxes.tsx b/saleor/static/dashboard-next/taxes/views/CountryTaxes.tsxindex c55429c8a3..4c5ebaa275 100644--- a/saleor/static/dashboard-next/taxes/views/CountryTaxes.tsx+++ b/saleor/static/dashboard-next/taxes/views/CountryTaxes.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import { maybe } from "../../misc";diff --git a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFields.tsx b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFields.tsxindex 709bac596b..883eff4504 100644--- a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFields.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFields.tsx@@ -16,7 +16,7 @@ import Grid from "@saleor/components/Grid";import Hr from "@saleor/components/Hr";import Skeleton from "@saleor/components/Skeleton";import classNames from "classnames";-import * as React from "react";+import React from "react";import i18n from "../../../i18n";import TranslationFieldsLong from "./TranslationFieldsLong";import TranslationFieldsRich from "./TranslationFieldsRich";diff --git a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsLong.tsx b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsLong.tsxindex 90790076cd..5729ff7792 100644--- a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsLong.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsLong.tsx@@ -1,6 +1,6 @@import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";import Form from "@saleor/components/Form";diff --git a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsRich.tsx b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsRich.tsxindex 6d9d352bc2..108eed7c42 100644--- a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsRich.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsRich.tsx@@ -1,5 +1,5 @@import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";import DraftRenderer from "@saleor/components/DraftRenderer";diff --git a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsSave.tsx b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsSave.tsxindex a81ff3a7d7..364aace747 100644--- a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsSave.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsSave.tsx@@ -5,7 +5,7 @@ import {withStyles,WithStyles} from "@material-ui/core/styles";-import * as React from "react";+import React from "react";import ConfirmButton, {ConfirmButtonTransitionStatediff --git a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsShort.tsx b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsShort.tsxindex 90fd1baaf0..df689dfb44 100644--- a/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsShort.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationFields/TranslationFieldsShort.tsx@@ -1,6 +1,6 @@import TextField from "@material-ui/core/TextField";import Typography from "@material-ui/core/Typography";-import * as React from "react";+import React from "react";import { ConfirmButtonTransitionState } from "@saleor/components/ConfirmButton";import Form from "@saleor/components/Form";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsCategoriesPage/TranslationsCategoriesPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsCategoriesPage/TranslationsCategoriesPage.tsxindex 8ffe57eaa5..37a595bbbb 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsCategoriesPage/TranslationsCategoriesPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsCategoriesPage/TranslationsCategoriesPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsCollectionsPage/TranslationsCollectionsPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsCollectionsPage/TranslationsCollectionsPage.tsxindex 945e0dc0b4..aeca74ee22 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsCollectionsPage/TranslationsCollectionsPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsCollectionsPage/TranslationsCollectionsPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsEntitiesList/TranslationsEntitiesList.tsx b/saleor/static/dashboard-next/translations/components/TranslationsEntitiesList/TranslationsEntitiesList.tsxindex 74b09c123d..161355735f 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsEntitiesList/TranslationsEntitiesList.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsEntitiesList/TranslationsEntitiesList.tsx@@ -6,8 +6,8 @@ import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";-import * as classNames from "classnames";-import * as React from "react";+import classNames from "classnames";+import React from "react";import { ListProps } from "../../../types";import Skeleton from "@saleor/components/Skeleton";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsEntitiesListPage/TranslationsEntitiesListPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsEntitiesListPage/TranslationsEntitiesListPage.tsxindex 76bcf1e13c..8af4b79400 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsEntitiesListPage/TranslationsEntitiesListPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsEntitiesListPage/TranslationsEntitiesListPage.tsx@@ -1,5 +1,5 @@import Card from "@material-ui/core/Card";-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsLanguageList/TranslationsLanguageList.tsx b/saleor/static/dashboard-next/translations/components/TranslationsLanguageList/TranslationsLanguageList.tsxindex e46b73dea9..6ccceb4498 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsLanguageList/TranslationsLanguageList.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsLanguageList/TranslationsLanguageList.tsx@@ -5,7 +5,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableHead from "@material-ui/core/TableHead";import TableRow from "@material-ui/core/TableRow";-import * as React from "react";+import React from "react";// tslint:disable no-submodule-importsimport { ShopInfo_shop_languages } from "@saleor/components/Shop/types/ShopInfo";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsLanguageListPage/TranslationsLanguageListPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsLanguageListPage/TranslationsLanguageListPage.tsxindex b43369bbad..d46a95d084 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsLanguageListPage/TranslationsLanguageListPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsLanguageListPage/TranslationsLanguageListPage.tsx@@ -1,6 +1,6 @@// import Button from "@material-ui/core/Button";// import AddIcon from "@material-ui/icons/Add";-import * as React from "react";+import React from "react";import Container from "@saleor/components/Container";import PageHeader from "@saleor/components/PageHeader";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsPagesPage/TranslationsPagesPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsPagesPage/TranslationsPagesPage.tsxindex e87439173b..ff2df9c3ff 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsPagesPage/TranslationsPagesPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsPagesPage/TranslationsPagesPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsProductTypesPage/TranslationsProductTypesPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsProductTypesPage/TranslationsProductTypesPage.tsxindex 22df55bbf8..0caed56bd3 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsProductTypesPage/TranslationsProductTypesPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsProductTypesPage/TranslationsProductTypesPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsProductsPage/TranslationsProductsPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsProductsPage/TranslationsProductsPage.tsxindex 9ef69b5d6d..f8b797e71e 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsProductsPage/TranslationsProductsPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsProductsPage/TranslationsProductsPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import CardSpacer from "@saleor/components/CardSpacer";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsSalesPage/TranslationsSalesPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsSalesPage/TranslationsSalesPage.tsxindex 071abaa812..55f4e32bde 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsSalesPage/TranslationsSalesPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsSalesPage/TranslationsSalesPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/translations/components/TranslationsVouchersPage/TranslationsVouchersPage.tsx b/saleor/static/dashboard-next/translations/components/TranslationsVouchersPage/TranslationsVouchersPage.tsxindex bb8c699f2f..2bab4dcef2 100644--- a/saleor/static/dashboard-next/translations/components/TranslationsVouchersPage/TranslationsVouchersPage.tsx+++ b/saleor/static/dashboard-next/translations/components/TranslationsVouchersPage/TranslationsVouchersPage.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import AppHeader from "@saleor/components/AppHeader";import Container from "@saleor/components/Container";diff --git a/saleor/static/dashboard-next/translations/index.tsx b/saleor/static/dashboard-next/translations/index.tsxindex 97e277568f..92ae9b2b29 100644--- a/saleor/static/dashboard-next/translations/index.tsx+++ b/saleor/static/dashboard-next/translations/index.tsx@@ -1,5 +1,5 @@import { parse as parseQs } from "qs";-import * as React from "react";+import React from "react";import { Route, RouteComponentProps, Switch } from "react-router-dom";import { WindowTitle } from "../components/WindowTitle";diff --git a/saleor/static/dashboard-next/translations/urls.ts b/saleor/static/dashboard-next/translations/urls.tsindex 02538053ad..e8e7fefcf6 100644--- a/saleor/static/dashboard-next/translations/urls.ts+++ b/saleor/static/dashboard-next/translations/urls.ts@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as urlJoin from "url-join";+import urlJoin from "url-join";export enum TranslatableEntities {categories = "categories",diff --git a/saleor/static/dashboard-next/translations/views/TranslationsCategories.tsx b/saleor/static/dashboard-next/translations/views/TranslationsCategories.tsxindex 39ce58bb47..d3e9961a4c 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsCategories.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsCategories.tsx@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/translations/views/TranslationsCollections.tsx b/saleor/static/dashboard-next/translations/views/TranslationsCollections.tsxindex 195ca3f4d6..d213aa5af9 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsCollections.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsCollections.tsx@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/translations/views/TranslationsEntities.tsx b/saleor/static/dashboard-next/translations/views/TranslationsEntities.tsxindex 47ad698235..fb34cce002 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsEntities.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsEntities.tsx@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import usePaginator, {diff --git a/saleor/static/dashboard-next/translations/views/TranslationsLanguageList.tsx b/saleor/static/dashboard-next/translations/views/TranslationsLanguageList.tsxindex 6230223942..a00b115d39 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsLanguageList.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsLanguageList.tsx@@ -1,4 +1,4 @@-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useShop from "@saleor/hooks/useShop";diff --git a/saleor/static/dashboard-next/translations/views/TranslationsPages.tsx b/saleor/static/dashboard-next/translations/views/TranslationsPages.tsxindex 3e10d3c724..3370705826 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsPages.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsPages.tsx@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/translations/views/TranslationsProductTypes.tsx b/saleor/static/dashboard-next/translations/views/TranslationsProductTypes.tsxindex da3be25004..af769063b0 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsProductTypes.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsProductTypes.tsx@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/translations/views/TranslationsProducts.tsx b/saleor/static/dashboard-next/translations/views/TranslationsProducts.tsxindex da8b9ccdeb..f6dbefb3b8 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsProducts.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsProducts.tsx@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/translations/views/TranslationsSales.tsx b/saleor/static/dashboard-next/translations/views/TranslationsSales.tsxindex 4e201f4d79..967d7a4a0f 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsSales.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsSales.tsx@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/saleor/static/dashboard-next/translations/views/TranslationsVouchers.tsx b/saleor/static/dashboard-next/translations/views/TranslationsVouchers.tsxindex fe23a70057..d30f4e3d42 100644--- a/saleor/static/dashboard-next/translations/views/TranslationsVouchers.tsx+++ b/saleor/static/dashboard-next/translations/views/TranslationsVouchers.tsx@@ -1,5 +1,5 @@import { stringify as stringifyQs } from "qs";-import * as React from "react";+import React from "react";import useNavigator from "@saleor/hooks/useNavigator";import useNotifier from "@saleor/hooks/useNotifier";diff --git a/tsconfig.json b/tsconfig.jsonindex 2781b9b124..2f9a683e17 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -1,6 +1,7 @@{"compilerOptions": {"baseUrl": ".",+ "esModuleInterop": true,"jsx": "react","lib": ["es2017", "dom", "esnext"],"sourceMap": true,diff --git a/tslint.json b/tslint.jsonindex 5d6525a200..88b12e8cbe 100644--- a/tslint.json+++ b/tslint.json@@ -7,6 +7,6 @@"no-console": [true, "log"],"no-implicit-dependencies": false,"no-shadowed-variable": false,- "no-submodule-imports": [true, "@material-ui", "@saleor"]+ "no-submodule-imports": [true, "@material-ui", "@saleor", "lodash-es"]}}