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

+3 -2
View File
@@ -1,9 +1,10 @@
import Select from "@components/ui/form/Select";
import { XIcon, CheckIcon } from "@heroicons/react/outline";
import React, { ForwardedRef, useEffect, useState } from "react";
import Avatar from "@components/ui/Avatar";
import { OptionsType } from "react-select/lib/types";
import Avatar from "@components/ui/Avatar";
import Select from "@components/ui/form/Select";
export type CheckedSelectProps = {
defaultValue?: [];
placeholder?: string;
+3 -2
View File
@@ -1,6 +1,7 @@
import "react-phone-number-input/style.css";
import { default as BasePhoneInput } from "react-phone-number-input";
import React from "react";
import { default as BasePhoneInput } from "react-phone-number-input";
import "react-phone-number-input/style.css";
import classNames from "@lib/classNames";
export const PhoneInput = (props) => (
+1
View File
@@ -1,5 +1,6 @@
import React, { PropsWithChildren } from "react";
import Select, { components, NamedProps } from "react-select";
import classNames from "@lib/classNames";
export const SelectComp = (props: PropsWithChildren<NamedProps>) => (
@@ -1,4 +1,5 @@
import React, { PropsWithChildren, useState } from "react";
import classNames from "@lib/classNames";
type RadioAreaProps = React.InputHTMLAttributes<HTMLInputElement> & {
+4 -2
View File
@@ -1,9 +1,11 @@
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible";
import { ChevronDownIcon } from "@heroicons/react/solid";
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible";
import React from "react";
import { RadioArea, RadioAreaGroup } from "@components/ui/form/radio-area/RadioAreaGroup";
import classNames from "@lib/classNames";
import { RadioArea, RadioAreaGroup } from "@components/ui/form/radio-area/RadioAreaGroup";
type OptionProps = React.OptionHTMLAttributes<HTMLOptionElement> & {
description?: string;
};