fix: frontend not being built due to lint errors

This commit is contained in:
Jordan Knott 2022-09-02 12:05:20 -05:00
parent 4f5aa2deb8
commit dfa8a4fba0
3 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,7 @@ import React, { useState } from 'react';
import TopNavbar, { MenuItem } from 'shared/components/TopNavbar';
import LoggedOutNavbar from 'shared/components/TopNavbar/LoggedOut';
import { ProfileMenu } from 'shared/components/DropdownMenu';
import polling from 'shared/utils/polling';
import { useHistory, useRouteMatch } from 'react-router';
import { useCurrentUser } from 'App/context';
import {
@ -16,7 +17,6 @@ import cache from 'App/cache';
import NotificationPopup, { NotificationItem } from 'shared/components/NotifcationPopup';
import theme from 'App/ThemeStyles';
import ProjectFinder from './ProjectFinder';
import polling from 'shared/utils/polling';
// TODO: Move to context based navbar?

View File

@ -9,6 +9,7 @@ import {
GetProjectsDocument,
GetProjectsQuery,
} from 'shared/generated/graphql';
import FormInput from 'shared/components/FormInput';
import { Link } from 'react-router-dom';
import NewProject from 'shared/components/NewProject';
@ -23,7 +24,6 @@ import NOOP from 'shared/utils/noop';
import theme from 'App/ThemeStyles';
import polling from 'shared/utils/polling';
import { mixin } from '../shared/utils/styles';
import FormInput from 'shared/components/FormInput';
type CreateTeamData = { name: string };

View File

@ -366,7 +366,7 @@ const Notification: React.FC<NotificationProps> = ({ causedBy, createdAt, data,
<span style={{ fontWeight: 'bold' }}>{causedBy ? causedBy.fullname : 'Removed user'}</span>
</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 &quote;{dataMap.get('TaskName')}&quote;</span>);
link = `/p/${dataMap.get('ProjectID')}/board/c/${dataMap.get('TaskID')}`;
break;
case ActionType.DueDateReminder: