style: fix organize-imports to work with tailwindcss prettier plugin (#2957) [skip ci]

This commit is contained in:
Ryan Cohen
2022-08-21 19:40:12 +09:00
committed by GitHub
parent 6c0fd40877
commit 4b855b8114
38 changed files with 133 additions and 112 deletions

View File

@@ -1,5 +1,5 @@
import type { Dispatch, SetStateAction } from 'react';
import { useState, useEffect } from 'react';
import { useEffect, useState } from 'react';
/**
* A hook to help with debouncing state

View File

@@ -1,4 +1,4 @@
import { useState, useEffect } from 'react';
import { useEffect, useState } from 'react';
export const INTERACTION_TYPE = {
MOUSE: 'mouse',

View File

@@ -1,6 +1,6 @@
import type { MutableRefObject } from 'react';
import { useState, useEffect, useRef } from 'react';
import { debounce } from 'lodash';
import type { MutableRefObject } from 'react';
import { useEffect, useRef, useState } from 'react';
const IS_SCROLLING_CHECK_THROTTLE = 200;
const BUFFER_HEIGHT = 200;