Skip to content

Commit

Permalink
v0.0.10 - Fix Dayjs Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andyclarkemedia committed Sep 8, 2022
1 parent 2e963b4 commit 1878343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "git",
"url": "https://github.com/urbanbigdatacentre/data-blocks.git"
},
"version": "0.0.9",
"version": "0.0.10",
"description": "React based UI Component Library for big data handling, interactions, presentation and visualisation.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/DateRangePicker/DateRangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const DateRangePicker = (props: DateRangePickerProps) => {

// Declare Component States
const dayjs = require('dayjs')
dayjs().format()

const [startDate, setStartDate] = React.useState<any | null >(dayjs(JSON.stringify(dayjs().year()) + "-01-01"))
const [endDate, setEndDate] = React.useState<any | null >(dayjs())

Expand Down

0 comments on commit 1878343

Please sign in to comment.