fix: 16 linting warnings

This commit is contained in:
Tom Moor
2021-01-23 10:19:08 -08:00
parent 96e65f495e
commit 978a123122
12 changed files with 78 additions and 41 deletions

View File

@@ -11,6 +11,7 @@ import UsersStore from "stores/UsersStore";
import Collection from "models/Collection";
import User from "models/User";
import Invite from "scenes/Invite";
import ButtonLink from "components/ButtonLink";
import Empty from "components/Empty";
import Flex from "components/Flex";
import HelpText from "components/HelpText";
@@ -81,9 +82,9 @@ class AddPeopleToCollection extends React.Component<Props> {
<Flex column>
<HelpText>
{t("Need to add someone whos not yet on the team yet?")}{" "}
<a role="button" onClick={this.handleInviteModalOpen}>
<ButtonLink onClick={this.handleInviteModalOpen}>
{t("Invite people to {{ teamName }}", { teamName: team.name })}
</a>
</ButtonLink>
.
</HelpText>