Suggestion: let prettier sort imports order (#673)

* Suggestion: let prettier sort imports order

# Conflicts:
#	yarn.lock

* AUTO SORT ALL THE IMPORTS

* Linting

* Fixes test
This commit is contained in:
Omar López authored and GitHub committed 2021-09-22 13:52:38 -06:00
1 parent 3add84a279
commit d194878bb2
192 files changed
+921 -577

No files matched your search

+7 -4
View File
@@ -1,11 +1,14 @@
import React, { useState } from "react";
import { stringify } from "querystring";
import { CardElement, useStripe, useElements } from "@stripe/react-stripe-js";
import Button from "@components/ui/Button";
import { useRouter } from "next/router";
import useDarkMode from "@lib/core/browser/useDarkMode";
import { stringify } from "querystring";
import React, { useState } from "react";
import { PaymentData } from "@ee/lib/stripe/server";
import useDarkMode from "@lib/core/browser/useDarkMode";
import Button from "@components/ui/Button";
const CARD_OPTIONS = {
iconStyle: "solid" as const,
classes: {
+6 -4
View File
@@ -1,8 +1,4 @@
import PaymentComponent from "@ee/components/stripe/Payment";
import getStripe from "@ee/lib/stripe/client";
import { PaymentPageProps } from "@ee/pages/payment/[uid]";
import { CreditCardIcon } from "@heroicons/react/solid";
import useTheme from "@lib/hooks/useTheme";
import { Elements } from "@stripe/react-stripe-js";
import dayjs from "dayjs";
import timezone from "dayjs/plugin/timezone";
@@ -12,6 +8,12 @@ import Head from "next/head";
import React, { FC, useEffect, useState } from "react";
import { FormattedNumber, IntlProvider } from "react-intl";
import PaymentComponent from "@ee/components/stripe/Payment";
import getStripe from "@ee/lib/stripe/client";
import { PaymentPageProps } from "@ee/pages/payment/[uid]";
import useTheme from "@lib/hooks/useTheme";
dayjs.extend(utc);
dayjs.extend(toArray);
dayjs.extend(timezone);