fix: frontend not being built due to lint errors
This commit is contained in:
parent
4f5aa2deb8
commit
dfa8a4fba0
@ -2,6 +2,7 @@ import React, { useState } from 'react';
|
|||||||
import TopNavbar, { MenuItem } from 'shared/components/TopNavbar';
|
import TopNavbar, { MenuItem } from 'shared/components/TopNavbar';
|
||||||
import LoggedOutNavbar from 'shared/components/TopNavbar/LoggedOut';
|
import LoggedOutNavbar from 'shared/components/TopNavbar/LoggedOut';
|
||||||
import { ProfileMenu } from 'shared/components/DropdownMenu';
|
import { ProfileMenu } from 'shared/components/DropdownMenu';
|
||||||
|
import polling from 'shared/utils/polling';
|
||||||
import { useHistory, useRouteMatch } from 'react-router';
|
import { useHistory, useRouteMatch } from 'react-router';
|
||||||
import { useCurrentUser } from 'App/context';
|
import { useCurrentUser } from 'App/context';
|
||||||
import {
|
import {
|
||||||
@ -16,7 +17,6 @@ import cache from 'App/cache';
|
|||||||
import NotificationPopup, { NotificationItem } from 'shared/components/NotifcationPopup';
|
import NotificationPopup, { NotificationItem } from 'shared/components/NotifcationPopup';
|
||||||
import theme from 'App/ThemeStyles';
|
import theme from 'App/ThemeStyles';
|
||||||
import ProjectFinder from './ProjectFinder';
|
import ProjectFinder from './ProjectFinder';
|
||||||
import polling from 'shared/utils/polling';
|
|
||||||
|
|
||||||
// TODO: Move to context based navbar?
|
// TODO: Move to context based navbar?
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ import {
|
|||||||
GetProjectsDocument,
|
GetProjectsDocument,
|
||||||
GetProjectsQuery,
|
GetProjectsQuery,
|
||||||
} from 'shared/generated/graphql';
|
} from 'shared/generated/graphql';
|
||||||
|
import FormInput from 'shared/components/FormInput';
|
||||||
|
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import NewProject from 'shared/components/NewProject';
|
import NewProject from 'shared/components/NewProject';
|
||||||
@ -23,7 +24,6 @@ import NOOP from 'shared/utils/noop';
|
|||||||
import theme from 'App/ThemeStyles';
|
import theme from 'App/ThemeStyles';
|
||||||
import polling from 'shared/utils/polling';
|
import polling from 'shared/utils/polling';
|
||||||
import { mixin } from '../shared/utils/styles';
|
import { mixin } from '../shared/utils/styles';
|
||||||
import FormInput from 'shared/components/FormInput';
|
|
||||||
|
|
||||||
type CreateTeamData = { name: string };
|
type CreateTeamData = { name: string };
|
||||||
|
|
||||||
|
@ -366,7 +366,7 @@ const Notification: React.FC<NotificationProps> = ({ causedBy, createdAt, data,
|
|||||||
<span style={{ fontWeight: 'bold' }}>{causedBy ? causedBy.fullname : 'Removed user'}</span>
|
<span style={{ fontWeight: 'bold' }}>{causedBy ? causedBy.fullname : 'Removed user'}</span>
|
||||||
</NotificationPrefix>,
|
</NotificationPrefix>,
|
||||||
);
|
);
|
||||||
prefix.push(<span key="content">assigned you to the task "{dataMap.get('TaskName')}"</span>);
|
prefix.push(<span key="content">assigned you to the task "e;{dataMap.get('TaskName')}"e;</span>);
|
||||||
link = `/p/${dataMap.get('ProjectID')}/board/c/${dataMap.get('TaskID')}`;
|
link = `/p/${dataMap.get('ProjectID')}/board/c/${dataMap.get('TaskID')}`;
|
||||||
break;
|
break;
|
||||||
case ActionType.DueDateReminder:
|
case ActionType.DueDateReminder:
|
||||||
|
Loading…
Reference in New Issue
Block a user