Skip to content

Commit f249382

Browse files
committed
cleanup
1 parent a5f9e71 commit f249382

File tree

4 files changed

+4
-83
lines changed

4 files changed

+4
-83
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"next": "12.3.1",
2929
"next-auth": "^4.20.1",
3030
"react": "18.2.0",
31-
"react-bootstrap": "^2.9.1",
3231
"react-dom": "18.2.0",
3332
"sass": "^1.56.1",
3433
"swr": "^1.3.0"

pages/_app.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const WebStore = ({ Component }) => {
2626
const { data: session } = useSession()
2727
const router = useRouter()
2828
const cookies = getCookies()
29-
console.log('APP.JS >>', { cookies })
3029

3130
const signOutUser = () => {
3231
signOut()

utils/cookies.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import {
1515

1616
const cookieConsentGiven = hasCookie('_dl_cookie_consent')
1717

18-
export const getCookieConsent = () => !cookieConsentGiven
18+
export const getCookieConsent = () => cookieConsentGiven // delete this and uncomment the line below to re-enable cookie consent
19+
// export const getCookieConsent = () => !cookieConsentGiven
1920

2021
export const cookieConsentValue = cookieConsentGiven ? getCookie('_dl_cookie_consent') : 'false'
2122

yarn.lock

Lines changed: 2 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,6 @@
279279
dependencies:
280280
regenerator-runtime "^0.13.11"
281281

282-
"@babel/runtime@^7.21.0", "@babel/runtime@^7.22.5":
283-
version "7.23.5"
284-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.5.tgz#11edb98f8aeec529b82b211028177679144242db"
285-
integrity sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==
286-
dependencies:
287-
regenerator-runtime "^0.14.0"
288-
289282
"@babel/template@^7.20.7", "@babel/template@^7.3.3":
290283
version "7.20.7"
291284
resolved "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz"
@@ -941,27 +934,13 @@
941934
dependencies:
942935
"@swc/helpers" "^0.4.14"
943936

944-
"@react-aria/ssr@^3.5.0":
945-
version "3.9.0"
946-
resolved "https://registry.yarnpkg.com/@react-aria/ssr/-/ssr-3.9.0.tgz#457310129e1447b09d2f4aa2fdd62ab0e668d88c"
947-
integrity sha512-Bz6BqP6ZorCme9tSWHZVmmY+s7AU8l6Vl2NUYmBzezD//fVHHfFo4lFBn5tBuAaJEm3AuCLaJQ6H2qhxNSb7zg==
948-
dependencies:
949-
"@swc/helpers" "^0.5.0"
950-
951937
"@restart/hooks@^0.4.6", "@restart/hooks@^0.4.7":
952938
version "0.4.9"
953939
resolved "https://registry.npmjs.org/@restart/hooks/-/hooks-0.4.9.tgz"
954940
integrity sha512-3BekqcwB6Umeya+16XPooARn4qEPW6vNvwYnlofIYe6h9qG1/VeD7UvShCWx11eFz5ELYmwIEshz+MkPX3wjcQ==
955941
dependencies:
956942
dequal "^2.0.2"
957943

958-
"@restart/hooks@^0.4.9":
959-
version "0.4.11"
960-
resolved "https://registry.yarnpkg.com/@restart/hooks/-/hooks-0.4.11.tgz#8876ccce1d4ad2a4b793a31689d63df36cf56088"
961-
integrity sha512-Ft/ncTULZN6ldGHiF/k5qt72O8JyRMOeg0tApvCni8LkoiEahO+z3TNxfXIVGy890YtWVDvJAl662dVJSJXvMw==
962-
dependencies:
963-
dequal "^2.0.3"
964-
965944
"@restart/ui@^1.4.1":
966945
version "1.6.1"
967946
resolved "https://registry.npmjs.org/@restart/ui/-/ui-1.6.1.tgz"
@@ -977,21 +956,6 @@
977956
uncontrollable "^7.2.1"
978957
warning "^4.0.3"
979958

980-
"@restart/ui@^1.6.6":
981-
version "1.6.6"
982-
resolved "https://registry.yarnpkg.com/@restart/ui/-/ui-1.6.6.tgz#3481e2eaf15d7cae55bb2f518624e10d19c75800"
983-
integrity sha512-eC3puKuWE1SRYbojWHXnvCNHGgf3uzHCb6JOhnF4OXPibOIPEkR1sqDSkL643ydigxwh+ruCa1CmYHlzk7ikKA==
984-
dependencies:
985-
"@babel/runtime" "^7.21.0"
986-
"@popperjs/core" "^2.11.6"
987-
"@react-aria/ssr" "^3.5.0"
988-
"@restart/hooks" "^0.4.9"
989-
"@types/warning" "^3.0.0"
990-
dequal "^2.0.3"
991-
dom-helpers "^5.2.0"
992-
uncontrollable "^8.0.1"
993-
warning "^4.0.3"
994-
995959
"@rjsf/core@^5.0.0-beta.17":
996960
version "5.0.1"
997961
resolved "https://registry.npmjs.org/@rjsf/core/-/core-5.0.1.tgz"
@@ -1364,13 +1328,6 @@
13641328
dependencies:
13651329
tslib "^2.4.0"
13661330

1367-
"@swc/helpers@^0.5.0":
1368-
version "0.5.3"
1369-
resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.3.tgz#98c6da1e196f5f08f977658b80d6bd941b5f294f"
1370-
integrity sha512-FaruWX6KdudYloq1AHD/4nU+UsMTdNE8CKyrseXWEcgjDAbvkwJg2QGPAnfIJLIWsjZOSPLOAykK6fuYp4vp4A==
1371-
dependencies:
1372-
tslib "^2.4.0"
1373-
13741331
"@szmarczak/http-timer@^5.0.1":
13751332
version "5.0.1"
13761333
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a"
@@ -1583,13 +1540,6 @@
15831540
dependencies:
15841541
"@types/react" "*"
15851542

1586-
"@types/react-transition-group@^4.4.6":
1587-
version "4.4.9"
1588-
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.9.tgz#12a1a1b5b8791067198149867b0823fbace31579"
1589-
integrity sha512-ZVNmWumUIh5NhH8aMD9CR2hdW0fNuYInlocZHaZ+dgk/1K49j1w/HoAuK1ki+pgscQrOFRTlXeoURtuzEkV3dg==
1590-
dependencies:
1591-
"@types/react" "*"
1592-
15931543
"@types/react@*":
15941544
version "18.0.27"
15951545
resolved "https://registry.npmjs.org/@types/react/-/react-18.0.27.tgz"
@@ -2372,7 +2322,7 @@ cjs-module-lexer@^1.0.0:
23722322
resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40"
23732323
integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==
23742324

2375-
classnames@^2.3.1, classnames@^2.3.2:
2325+
classnames@^2.3.1:
23762326
version "2.3.2"
23772327
resolved "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz"
23782328
integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==
@@ -6507,24 +6457,6 @@ react-bootstrap@^2.5.0, react-bootstrap@^2.6.0:
65076457
uncontrollable "^7.2.1"
65086458
warning "^4.0.3"
65096459

6510-
react-bootstrap@^2.9.1:
6511-
version "2.9.1"
6512-
resolved "https://registry.yarnpkg.com/react-bootstrap/-/react-bootstrap-2.9.1.tgz#c1ab48ae2b2cfe6d5ac957c2042eb36fcafdb1d2"
6513-
integrity sha512-ezgmh/ARCYp18LbZEqPp0ppvy+ytCmycDORqc8vXSKYV3cer4VH7OReV8uMOoKXmYzivJTxgzGHalGrHamryHA==
6514-
dependencies:
6515-
"@babel/runtime" "^7.22.5"
6516-
"@restart/hooks" "^0.4.9"
6517-
"@restart/ui" "^1.6.6"
6518-
"@types/react-transition-group" "^4.4.6"
6519-
classnames "^2.3.2"
6520-
dom-helpers "^5.2.1"
6521-
invariant "^2.2.4"
6522-
prop-types "^15.8.1"
6523-
prop-types-extra "^1.1.0"
6524-
react-transition-group "^4.4.5"
6525-
uncontrollable "^7.2.1"
6526-
warning "^4.0.3"
6527-
65286460
react-country-region-selector@^3.6.1:
65296461
version "3.6.1"
65306462
resolved "https://registry.npmjs.org/react-country-region-selector/-/react-country-region-selector-3.6.1.tgz"
@@ -6572,7 +6504,7 @@ react-loader-spinner@^5.3.4:
65726504
styled-components "^5.3.5"
65736505
styled-tools "^1.7.2"
65746506

6575-
react-transition-group@^4.4.2, react-transition-group@^4.4.5:
6507+
react-transition-group@^4.4.2:
65766508
version "4.4.5"
65776509
resolved "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz"
65786510
integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==
@@ -6635,11 +6567,6 @@ regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.7:
66356567
resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz"
66366568
integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==
66376569

6638-
regenerator-runtime@^0.14.0:
6639-
version "0.14.0"
6640-
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45"
6641-
integrity sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==
6642-
66436570
regexp.prototype.flags@^1.4.3:
66446571
version "1.4.3"
66456572
resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz"
@@ -7511,11 +7438,6 @@ uncontrollable@^7.2.1:
75117438
invariant "^2.2.4"
75127439
react-lifecycles-compat "^3.0.4"
75137440

7514-
uncontrollable@^8.0.1:
7515-
version "8.0.4"
7516-
resolved "https://registry.yarnpkg.com/uncontrollable/-/uncontrollable-8.0.4.tgz#a0a8307f638795162fafd0550f4a1efa0f8c5eb6"
7517-
integrity sha512-ulRWYWHvscPFc0QQXvyJjY6LIXU56f0h8pQFvhxiKk5V1fcI8gp9Ht9leVAhrVjzqMw0BgjspBINx9r6oyJUvQ==
7518-
75197441
unique-string@^3.0.0:
75207442
version "3.0.0"
75217443
resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-3.0.0.tgz#84a1c377aff5fd7a8bc6b55d8244b2bd90d75b9a"

0 commit comments

Comments
 (0)