Remove Moment dependency by changing implementation of DateRangePicker to something leaner (#798)
* chore: extracted all DateRangePicker logic from event-types/[type].tsx * Minor alignment fixes + Date.now() instead of 1970. * Removes react-dates, implements wojtekmaj/react-daterange-picker
This commit is contained in:
1 parent
78c78a6981
commit
dc7b084bdf
5 files changed
+150
-271
No files matched your search
+1
-2
@@ -42,6 +42,7 @@
|
||||
"@trpc/react": "^9.8.0",
|
||||
"@trpc/server": "^9.8.0",
|
||||
"@types/stripe": "^8.0.417",
|
||||
"@wojtekmaj/react-daterange-picker": "^3.3.1",
|
||||
"accept-language-parser": "^1.5.0",
|
||||
"async": "^3.2.1",
|
||||
"bcryptjs": "^2.4.3",
|
||||
@@ -65,7 +66,6 @@
|
||||
"otplib": "^12.0.1",
|
||||
"qrcode": "^1.4.4",
|
||||
"react": "17.0.2",
|
||||
"react-dates": "^21.8.0",
|
||||
"react-dom": "17.0.2",
|
||||
"react-easy-crop": "^3.5.2",
|
||||
"react-hot-toast": "^2.1.0",
|
||||
@@ -94,7 +94,6 @@
|
||||
"@types/nodemailer": "^6.4.4",
|
||||
"@types/qrcode": "^1.4.1",
|
||||
"@types/react": "^17.0.18",
|
||||
"@types/react-dates": "^21.8.3",
|
||||
"@types/react-select": "^4.0.17",
|
||||
"@types/uuid": "8.3.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.30.0",
|
||||
|
||||
Reference in new issue
Block a user