Skip to content

Commit

Permalink
Fixed date-fns imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jwngr committed Jul 7, 2024
1 parent 5bb671e commit 5f06330
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion website/src/components/Game.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import format from 'date-fns/format';
import {format} from 'date-fns/format';
import _ from 'lodash';
import React from 'react';
import Media from 'react-media';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/explorables/WinPercentage.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import format from 'date-fns/format';
import {format} from 'date-fns/format';
import _ from 'lodash';
import React, {Component} from 'react';

Expand Down
2 changes: 1 addition & 1 deletion website/src/components/gameSummary/GameCoverage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import format from 'date-fns/format';
import {format} from 'date-fns/format';
import React from 'react';

import {getTimeZoneString, getTvChannelUrl} from '../../../lib/utils';
Expand Down
4 changes: 2 additions & 2 deletions website/src/lib/urls.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import isAfter from 'date-fns/isAfter';
import subDays from 'date-fns/subDays';
import {isAfter} from 'date-fns/isAfter';
import {subDays} from 'date-fns/subDays';
import _ from 'lodash';

import {FullSchedule} from '../models';
Expand Down

0 comments on commit 5f06330

Please sign in to comment.