diff --git a/frontend/app/components/auth-panel/auth-panel.tsx b/frontend/app/components/auth-panel/auth-panel.tsx index 205275e0..1e9ea931 100644 --- a/frontend/app/components/auth-panel/auth-panel.tsx +++ b/frontend/app/components/auth-panel/auth-panel.tsx @@ -1,10 +1,9 @@ import { h, Component } from 'preact'; -import { useSelector } from 'react-redux'; -import { FormattedMessage, defineMessages, IntlShape, useIntl } from 'react-intl'; +import { FormattedMessage, IntlShape, useIntl } from 'react-intl'; import b from 'bem-react-helper'; import clsx from 'clsx'; -import { User, Sorting, Theme, PostInfo } from 'common/types'; +import { User, Theme, PostInfo } from 'common/types'; import { IS_STORAGE_AVAILABLE, IS_THIRD_PARTY } from 'common/constants'; import { postMessageToParent } from 'utils/post-message'; import { getHandleClickProps } from 'common/accessibility'; diff --git a/frontend/app/components/select/select.spec.tsx b/frontend/app/components/select/select.spec.tsx index 6957a429..d1a0cba4 100644 --- a/frontend/app/components/select/select.spec.tsx +++ b/frontend/app/components/select/select.spec.tsx @@ -1,5 +1,5 @@ import '@testing-library/jest-dom'; -import { fireEvent, waitFor } from '@testing-library/preact'; +import { fireEvent } from '@testing-library/preact'; import { h } from 'preact'; import { render } from 'tests/utils'; import { Select } from './select';