Skip to content

Commit

Permalink
fix(frontend): 使っていない関数を消去
Browse files Browse the repository at this point in the history
  • Loading branch information
oribe1115 committed Jul 9, 2021
1 parent ea3a2d9 commit 2765085
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions webapp/frontend/src/components/IsuGraph/DateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,4 @@ const DateInput = ({ day, fetchGraphs }: Props) => {
)
}

const dateToStr = (date: Date) => {
return `${date.getUTCFullYear()}/${pad0(date.getUTCMonth() + 1)}/${pad0(
date.getUTCDate()
)} `
}
const pad0 = (num: number) => ('0' + num).slice(-2)

export default DateInput

0 comments on commit 2765085

Please sign in to comment.