Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix minor typos

dominik-zeglen89a9b91df393
diff --git a/saleor/static/dashboard-next/pages/components/PageAvailability/PageAvailability.tsx b/saleor/static/dashboard-next/pages/components/PageAvailability/PageAvailability.tsx
index de27158b7c..9c4de89b52 100644
--- a/saleor/static/dashboard-next/pages/components/PageAvailability/PageAvailability.tsx
+++ b/saleor/static/dashboard-next/pages/components/PageAvailability/PageAvailability.tsx
@@ -76,7 +76,9 @@ const PageAvailability: React.StatelessComponent<PageAvailabilityProps> = ({
<FormSpacer />
<TextField
disabled={disabled}
+ error={!!errors.availableOn}
fullWidth
+ helperText={errors.availableOn}
label={i18n.t("Publish page on")}
name={"availableOn" as keyof FormData}
type="date"
diff --git a/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx b/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx
index 6e274cf485..f614490881 100644
--- a/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx
+++ b/saleor/static/dashboard-next/pages/components/PageList/PageList.tsx
@@ -1,10 +1,5 @@
import Card from "@material-ui/core/Card";
-import {
- createStyles,
- Theme,
- withStyles,
- WithStyles
-} from "@material-ui/core/styles";
+import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles";
import Table from "@material-ui/core/Table";
import TableBody from "@material-ui/core/TableBody";
import TableCell from "@material-ui/core/TableCell";