diff --git a/cvat-ui/src/components/annotation-page/annotation-page.tsx b/cvat-ui/src/components/annotation-page/annotation-page.tsx index 2d1cc6cb592b..f68840ec5dfd 100644 --- a/cvat-ui/src/components/annotation-page/annotation-page.tsx +++ b/cvat-ui/src/components/annotation-page/annotation-page.tsx @@ -4,17 +4,17 @@ import './styles.scss'; import React, { useEffect } from 'react'; -import { useLocation } from "react-router-dom"; +import { useLocation } from 'react-router-dom'; import Layout from 'antd/lib/layout'; import Spin from 'antd/lib/spin'; import Result from 'antd/lib/result'; import { Workspace } from 'reducers/interfaces'; +import { customWaViewHit } from 'utils/enviroment'; import AnnotationTopBarContainer from 'containers/annotation-page/top-bar/top-bar'; import StatisticsModalContainer from 'containers/annotation-page/top-bar/statistics-modal'; import StandardWorkspaceComponent from './standard-workspace/standard-workspace'; import AttributeAnnotationWorkspace from './attribute-annotation-workspace/attribute-annotation-workspace'; -import { customWaViewHit } from 'utils/enviroment'; interface Props { job: any | null | undefined; diff --git a/cvat-ui/src/components/create-model-page/create-model-page.tsx b/cvat-ui/src/components/create-model-page/create-model-page.tsx index b1609c32fa37..3ed07fee005b 100644 --- a/cvat-ui/src/components/create-model-page/create-model-page.tsx +++ b/cvat-ui/src/components/create-model-page/create-model-page.tsx @@ -4,13 +4,13 @@ import './styles.scss'; import React, { useEffect } from 'react'; -import { useLocation } from "react-router-dom"; +import { useLocation } from 'react-router-dom'; import { Row, Col } from 'antd/lib/grid'; import Text from 'antd/lib/typography/Text'; import { ModelFiles } from 'reducers/interfaces'; -import CreateModelContent from './create-model-content'; import { customWaViewHit } from 'utils/enviroment'; +import CreateModelContent from './create-model-content'; interface Props { createModel(name: string, files: ModelFiles, global: boolean): void; diff --git a/cvat-ui/src/components/create-task-page/create-task-page.tsx b/cvat-ui/src/components/create-task-page/create-task-page.tsx index 52bba9f25def..6c6c79e18a6f 100644 --- a/cvat-ui/src/components/create-task-page/create-task-page.tsx +++ b/cvat-ui/src/components/create-task-page/create-task-page.tsx @@ -4,16 +4,15 @@ import './styles.scss'; import React, { useEffect } from 'react'; -import { useLocation } from "react-router-dom"; +import { useLocation } from 'react-router-dom'; import { Row, Col } from 'antd/lib/grid'; import Modal from 'antd/lib/modal'; import Text from 'antd/lib/typography/Text'; import Paragraph from 'antd/lib/typography/Paragraph'; import TextArea from 'antd/lib/input/TextArea'; -import CreateTaskContent, { CreateTaskData } from './create-task-content'; import { customWaViewHit } from 'utils/enviroment'; - +import CreateTaskContent, { CreateTaskData } from './create-task-content'; interface Props { onCreate: (data: CreateTaskData) => void; diff --git a/cvat-ui/src/components/login-page/login-page.tsx b/cvat-ui/src/components/login-page/login-page.tsx index 8d271d5f335f..9401125bf569 100644 --- a/cvat-ui/src/components/login-page/login-page.tsx +++ b/cvat-ui/src/components/login-page/login-page.tsx @@ -9,9 +9,9 @@ import Title from 'antd/lib/typography/Title'; import Text from 'antd/lib/typography/Text'; import { Row, Col } from 'antd/lib/grid'; +import { customWaViewHit } from 'utils/enviroment'; import LoginForm, { LoginData } from './login-form'; import CookieDrawer from './cookie-policy-drawer'; -import { customWaViewHit } from 'utils/enviroment'; interface LoginPageComponentProps { fetching: boolean; diff --git a/cvat-ui/src/components/models-page/models-page.tsx b/cvat-ui/src/components/models-page/models-page.tsx index ad0b5f8088b9..d6cb23530431 100644 --- a/cvat-ui/src/components/models-page/models-page.tsx +++ b/cvat-ui/src/components/models-page/models-page.tsx @@ -4,16 +4,16 @@ import './styles.scss'; import React, { useEffect } from 'react'; -import { useLocation } from "react-router-dom"; +import { useLocation } from 'react-router-dom'; import Spin from 'antd/lib/spin'; +import { customWaViewHit } from 'utils/enviroment'; import TopBarComponent from './top-bar'; import UploadedModelsList from './uploaded-models-list'; import BuiltModelsList from './built-models-list'; import EmptyListComponent from './empty-list'; import FeedbackComponent from '../feedback/feedback'; import { Model } from '../../reducers/interfaces'; -import { customWaViewHit } from 'utils/enviroment'; interface Props { installedAutoAnnotation: boolean; diff --git a/cvat-ui/src/components/register-page/register-page.tsx b/cvat-ui/src/components/register-page/register-page.tsx index 885a143e7cef..de480f08ca44 100644 --- a/cvat-ui/src/components/register-page/register-page.tsx +++ b/cvat-ui/src/components/register-page/register-page.tsx @@ -10,9 +10,9 @@ import Text from 'antd/lib/typography/Text'; import { Row, Col } from 'antd/lib/grid'; import { UserAgreement } from 'reducers/interfaces' -import RegisterForm, { RegisterData, UserConfirmation } from './register-form'; -import CookieDrawer from 'components/login-page/cookie-policy-drawer'; import { customWaViewHit } from 'utils/enviroment'; +import CookieDrawer from 'components/login-page/cookie-policy-drawer'; +import RegisterForm, { RegisterData, UserConfirmation } from './register-form'; interface RegisterPageComponentProps { fetching: boolean; diff --git a/cvat-ui/src/components/task-page/task-page.tsx b/cvat-ui/src/components/task-page/task-page.tsx index fbe359f9022b..aa3d4b2eac4b 100644 --- a/cvat-ui/src/components/task-page/task-page.tsx +++ b/cvat-ui/src/components/task-page/task-page.tsx @@ -14,8 +14,8 @@ import DetailsContainer from 'containers/task-page/details'; import JobListContainer from 'containers/task-page/job-list'; import ModelRunnerModalContainer from 'containers/model-runner-dialog/model-runner-dialog'; import { Task } from 'reducers/interfaces'; -import TopBarComponent from './top-bar'; import { customWaViewHit } from 'utils/enviroment'; +import TopBarComponent from './top-bar'; interface TaskPageComponentProps { task: Task | null | undefined; diff --git a/cvat-ui/src/components/tasks-page/tasks-page.tsx b/cvat-ui/src/components/tasks-page/tasks-page.tsx index 25360f59f5de..9005c511bf96 100644 --- a/cvat-ui/src/components/tasks-page/tasks-page.tsx +++ b/cvat-ui/src/components/tasks-page/tasks-page.tsx @@ -12,12 +12,11 @@ import message from 'antd/lib/message'; import Text from 'antd/lib/typography/Text'; import { TasksQuery } from 'reducers/interfaces'; +import { customWaViewHit } from 'utils/enviroment'; import FeedbackComponent from 'components/feedback/feedback'; import TaskListContainer from 'containers/tasks-page/tasks-list'; import TopBar from './top-bar'; import EmptyListComponent from './empty-list'; -import { customWaViewHit } from 'utils/enviroment'; - interface TasksPageProps { tasksFetching: boolean;