Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
n8kim1 committed Dec 29, 2020
1 parent e1819e4 commit 7fbadac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions frontend/src/views/submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class Submissions extends Component {
}

componentDidMount() {
Api.getCompilationStatus(this.gotStatus);
Api.getTeamSubmissions(this.gotSubmissions);
Api.getLeague(function (l) {
this.setState({ league: l});
Expand Down Expand Up @@ -102,12 +101,6 @@ class Submissions extends Component {
KEYS_LAST = ['last_1', 'last_2', 'last_3']
KEYS_TOUR = ['tour_final', 'tour_qual', 'tour_seed', 'tour_sprint', 'tour_hs', 'tour_intl_qual', 'tour_newbie']

// called when status of teams compilation request is received
// 0 = in progress, 1 = succeeded, 2 = failed, 3 = server failed
gotStatus = (data) => {
this.setState(data)
}

// called when submission data is initially received
// this will be maps of the label of type of submission to submission id
// this function then makes calles to get the specific data for each submission
Expand Down

0 comments on commit 7fbadac

Please sign in to comment.