follow @Ducz0r suggestions

This commit is contained in:
zmagod 2017-10-18 15:37:13 +02:00
parent d2c3827289
commit 3558e20454
3 changed files with 4 additions and 3 deletions

View file

@ -67,7 +67,7 @@ export default class SettingsPage extends Component<*, State> {
active={this.state.active === "2"}
>
<NavItem eventKey="2">
<FormattedMessage id="settings_page.team" />
<FormattedMessage id="settings_page.teams" />
</NavItem>
</LinkContainer>
</Nav>

View file

@ -6,9 +6,10 @@ import { Breadcrumb, Row, Col, Glyphicon, Well } from "react-bootstrap";
import { LinkContainer } from "react-router-bootstrap";
import { FormattedHTMLMessage, FormattedMessage } from "react-intl";
import moment from "moment";
import { formatBytes } from "../../../../services/helpers/units_converter_helper";
import type { Match } from "react-router-dom";
import type { Team } from "flow-typed";
import { formatBytes } from "../../../../services/helpers/units_converter_helper";
import { getTeamDetails } from "../../../../services/api/teams_api";
import { SETTINGS_TEAMS_ROUTE } from "../../../../config/routes";

View file

@ -1,7 +1,7 @@
// @flow
import type { NewTeam } from "flow-typed";
import { axiosInstance } from "./config";
import { TEAM_DETAILS_PATH, TEAMS_PATH } from "./endpoints";
import type { NewTeam } from "flow-typed";
export const getTeamDetails = (teamID: string): Promise<*> => {
const path = TEAM_DETAILS_PATH.replace(":team_id", teamID);