Skip to content

Commit affe77b

Browse files
authored
fix build issues
1 parent 28cacbf commit affe77b

File tree

1 file changed

+0
-3
lines changed
  • react/02-ignite-timer/src/pages/history

1 file changed

+0
-3
lines changed

react/02-ignite-timer/src/pages/history/index.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import { useContext } from 'react'
33
import { CyclesContext } from '../../context/CyclesContext'
44
import * as S from './styles'
55

6-
import ptBR from 'date-fns/locale/pt-BR'
7-
86
export function History() {
97
const { cycles } = useContext(CyclesContext)
108

@@ -30,7 +28,6 @@ export function History() {
3028
<td>
3129
{formatDistanceToNow(new Date(cycle.startDate), {
3230
addSuffix: true,
33-
locale: ptBR,
3431
})}
3532
</td>
3633
<td>

0 commit comments

Comments
 (0)