mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-26 04:37:34 +02:00
♻️ Replace eslint and prettier with biome (#1697)
This commit is contained in:
parent
1577a0c5df
commit
a34da49486
158 changed files with 450 additions and 2718 deletions
|
@ -133,14 +133,11 @@ AbandonedCheckoutEmail.getSubject = (
|
|||
props: AbandonedCheckoutEmailProps,
|
||||
ctx: EmailContext,
|
||||
) => {
|
||||
return (
|
||||
"🎉 " +
|
||||
ctx.t("abandoned_checkout_subject", {
|
||||
defaultValue: "Get {{discount}}% off your first year of Rallly Pro",
|
||||
discount: props.discount,
|
||||
ns: "emails",
|
||||
})
|
||||
);
|
||||
return `🎉 ${ctx.t("abandoned_checkout_subject", {
|
||||
defaultValue: "Get {{discount}}% off your first year of Rallly Pro",
|
||||
discount: props.discount,
|
||||
ns: "emails",
|
||||
})}`;
|
||||
};
|
||||
|
||||
export default AbandonedCheckoutEmail;
|
||||
|
|
|
@ -3,10 +3,10 @@ import { Trans } from "react-i18next/TransWithoutContext";
|
|||
|
||||
import { EmailLayout } from "../components/email-layout";
|
||||
import {
|
||||
borderColor,
|
||||
Button,
|
||||
Heading,
|
||||
Text,
|
||||
borderColor,
|
||||
} from "../components/styled-components";
|
||||
import type { EmailContext } from "../types";
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@ import { Trans } from "react-i18next/TransWithoutContext";
|
|||
|
||||
import { EmailLayout } from "../components/email-layout";
|
||||
import {
|
||||
borderColor,
|
||||
Button,
|
||||
Heading,
|
||||
Text,
|
||||
borderColor,
|
||||
} from "../components/styled-components";
|
||||
import type { EmailContext } from "../types";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue