Skip to content

Commit

Permalink
fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Zhavoronkov committed May 21, 2020
1 parent 8b8df1b commit 8c7d203
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions cvat-ui/src/components/annotation-page/annotation-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 2 additions & 3 deletions cvat-ui/src/components/create-task-page/create-task-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion cvat-ui/src/components/login-page/login-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions cvat-ui/src/components/models-page/models-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions cvat-ui/src/components/register-page/register-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion cvat-ui/src/components/task-page/task-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions cvat-ui/src/components/tasks-page/tasks-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8c7d203

Please sign in to comment.