Skip to content

Commit

Permalink
Typo & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Droniu committed Jul 3, 2023
1 parent dbf592c commit 563f438
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions locale/defaultMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -4406,6 +4406,10 @@
"context": "page header, edit view",
"string": "Edit grant refund"
},
"U+79k0": {
"context": "order expiration card description",
"string": "The time in days after expired orders will be deleted. Allowed range between 1 and 120."
},
"U1eJIw": {
"context": "order history message",
"string": "Products were added to an order"
Expand Down Expand Up @@ -5900,10 +5904,6 @@
"context": "all captured amount from transactions in order",
"string": "Captured"
},
"eqEyWz": {
"context": "order expiration card description",
"string": "The time in days after expired orders will be deleted. Allowed rangeis between 1 and 120."
},
"erC44f": {
"context": "filters error messages dependencies missing",
"string": "Filter requires other filters: {dependencies}"
Expand Down
4 changes: 2 additions & 2 deletions src/channels/components/ChannelForm/ChannelForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
ChannelShippingZones,
ChannelWarehouses,
} from "@dashboard/channels/pages/ChannelDetailsPage/types";
import { DashboardCard } from "@dashboard/components/Card";
import ControlledSwitch from "@dashboard/components/ControlledSwitch";
import FormSpacer from "@dashboard/components/FormSpacer";
import Link from "@dashboard/components/Link";
Expand All @@ -25,9 +26,8 @@ import { Box, Button, CopyIcon, Input, Text } from "@saleor/macaw-ui/next";
import React from "react";
import { FormattedMessage, useIntl } from "react-intl";

import { ExtendedFormHelperTextProps } from "./types";
import { DashboardCard } from "@dashboard/components/Card";
import { messages } from "./messages";
import { ExtendedFormHelperTextProps } from "./types";

export interface FormData extends StockSettingsInput {
name: string;
Expand Down
6 changes: 3 additions & 3 deletions src/channels/components/ChannelForm/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ export const messages = defineMessages({
defaultMessage: "Default country",
},
orderExpiration: {
id: 'kVKTwC',
id: "kVKTwC",
defaultMessage: "Order expiration",
description: "order expiration card title",
},
orderExpirationDescription: {
id: 'eqEyWz',
id: 'U+79k0',
defaultMessage:
"The time in days after expired orders will be deleted. Allowed rangeis between 1 and 120.",
"The time in days after expired orders will be deleted. Allowed range between 1 and 120.",
description: "order expiration card description",
},
});
2 changes: 1 addition & 1 deletion src/channels/components/ChannelStatus/ChannelStatus.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button } from "@saleor/macaw-ui/next";
import CardTitle from "@dashboard/components/CardTitle";
import { Card, CardContent, Typography } from "@material-ui/core";
import { Button } from "@saleor/macaw-ui/next";
import React from "react";
import { FormattedMessage, useIntl } from "react-intl";

Expand Down

0 comments on commit 563f438

Please sign in to comment.