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:
1 parent
3add84a279
commit
d194878bb2
192 files changed
+921
-577
No files matched your search
@@ -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: {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user