Skip to content

Commit

Permalink
Fixed more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jwngr committed Jul 7, 2024
1 parent 9bb5ff2 commit e4a3a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions website/src/reducers/index.js → website/src/lib/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import isAfter from 'date-fns/isAfter';
import subDays from 'date-fns/subDays';
import _ from 'lodash';

import {CURRENT_SEASON} from '../lib/constants';
import schedule from '../resources/schedule.json';

// TODO: Move to better file.
import {CURRENT_SEASON} from './constants';

const DEFAULT_SELECTED_GAME_INDEX = 0;

Expand Down
2 changes: 1 addition & 1 deletion website/src/screens/FootballScheduleScreen/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Game} from '../../components/Game';
import {GameSummary} from '../../components/gameSummary/GameSummary';
import {NavMenu} from '../../components/NavMenu';
import {LATEST_YEAR} from '../../lib/constants';
import {getSelectedGameIndexFromUrl, getYearFromUrl} from '../../reducers';
import {getSelectedGameIndexFromUrl, getYearFromUrl} from '../../lib/url';
import schedule from '../../resources/schedule.json';
import teams from '../../resources/teams.json';
import {
Expand Down

0 comments on commit e4a3a37

Please sign in to comment.