From 60c673b537b8304c3494ed674ca73e52a8e6e18c Mon Sep 17 00:00:00 2001 From: Cyrus Cowley Date: Fri, 29 Apr 2022 15:09:29 -0700 Subject: [PATCH] Fixing missing depednecy issue --- frontend/package.json | 1 + frontend/src/client/components/ExploreRentals.tsx | 1 - frontend/yarn.lock | 12 +++++++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 1536a55..4f958f5 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -24,6 +24,7 @@ "@alch/alchemy-web3": "^1.2.4", "@headlessui/react": "^1.4.3", "@heroicons/react": "^1.0.5", + "@types/react-datepicker": "^4.4.1", "autoprefixer": "^10.4.2", "axios": "^0.26.0", "browserify-zlib": "^0.2.0", diff --git a/frontend/src/client/components/ExploreRentals.tsx b/frontend/src/client/components/ExploreRentals.tsx index d56197a..05b4baf 100644 --- a/frontend/src/client/components/ExploreRentals.tsx +++ b/frontend/src/client/components/ExploreRentals.tsx @@ -4,7 +4,6 @@ import { ListingPanel } from "./ListingPanel"; import DatePicker from "react-datepicker"; import "react-datepicker/dist/react-datepicker.css"; -import { diffieHellman } from "crypto"; export const ExploreRentals = () => { const nft: NftWithMetadata = { diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 11bca44..33bb877 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -1588,6 +1588,16 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== +"@types/react-datepicker@^4.4.1": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@types/react-datepicker/-/react-datepicker-4.4.1.tgz#b79aaccee265ab4c64ba8eecfea73fd4c29d1b2d" + integrity sha512-M8+hzwj+bpuwxC82z35NxkD3sqMl/vVXTs6xjPAsYqjucVXFpY1DK6ETKgICZE7YpuPYpf2OYF2OVZ5E7R42rA== + dependencies: + "@popperjs/core" "^2.9.2" + "@types/react" "*" + date-fns "^2.0.1" + react-popper "^2.2.5" + "@types/react-dom@>=16.9.0", "@types/react-dom@^17.0.11": version "17.0.11" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.11.tgz#e1eadc3c5e86bdb5f7684e00274ae228e7bcc466" @@ -3282,7 +3292,7 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" -date-fns@^2.16.1, date-fns@^2.24.0: +date-fns@^2.0.1, date-fns@^2.16.1, date-fns@^2.24.0: version "2.28.0" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.28.0.tgz#9570d656f5fc13143e50c975a3b6bbeb46cd08b2" integrity sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==