Skip to content

Commit

Permalink
fix: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
melniiv committed Aug 20, 2024
1 parent 4a11055 commit a286814
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion apps/events-helsinki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"react-datepicker": "^4.14.1",
"react-dom": "18.2.0",
"react-error-boundary": "4.0.10",
"react-helsinki-headless-cms": "1.0.0-alpha295",
"react-helsinki-headless-cms": "1.0.0-alpha296",
"react-i18next": "13.0.1",
"react-scroll": "^1.8.9",
"react-toastify": "^9.1.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/hobbies-helsinki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"react-datepicker": "^4.14.1",
"react-dom": "18.2.0",
"react-error-boundary": "4.0.10",
"react-helsinki-headless-cms": "1.0.0-alpha295",
"react-helsinki-headless-cms": "1.0.0-alpha296",
"react-i18next": "13.0.1",
"react-scroll": "^1.8.9",
"react-toastify": "^9.1.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/sports-helsinki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"react-datepicker": "^4.14.1",
"react-dom": "18.2.0",
"react-error-boundary": "4.0.10",
"react-helsinki-headless-cms": "1.0.0-alpha295",
"react-helsinki-headless-cms": "1.0.0-alpha296",
"react-i18next": "13.0.1",
"react-leaflet": "4.2.1",
"react-scroll": "^1.8.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"react-datepicker": "^4.14.1",
"react-dom": "18.2.0",
"react-error-boundary": "4.0.10",
"react-helsinki-headless-cms": "1.0.0-alpha295",
"react-helsinki-headless-cms": "1.0.0-alpha296",
"react-i18next": "13.0.1",
"react-leaflet": "4.2.1",
"react-toastify": "^9.1.3",
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/hooks/useCommonCmsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const useCommonCmsConfig = (): Partial<Config> => {
htmlSanitizer: {
allowedUnsafeTags: ['iframe'],
trustedOrigins: ['https://www.youtube.com', 'https://player.vimeo.com'],
allowUnsafeSocialMediaScript: true,
},
};
};
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3525,7 +3525,7 @@ __metadata:
react-datepicker: "npm:^4.14.1"
react-dom: "npm:18.2.0"
react-error-boundary: "npm:4.0.10"
react-helsinki-headless-cms: "npm:1.0.0-alpha295"
react-helsinki-headless-cms: "npm:1.0.0-alpha296"
react-i18next: "npm:13.0.1"
react-leaflet: "npm:4.2.1"
react-toastify: "npm:^9.1.3"
Expand Down Expand Up @@ -14316,7 +14316,7 @@ __metadata:
react-datepicker: "npm:^4.14.1"
react-dom: "npm:18.2.0"
react-error-boundary: "npm:4.0.10"
react-helsinki-headless-cms: "npm:1.0.0-alpha295"
react-helsinki-headless-cms: "npm:1.0.0-alpha296"
react-i18next: "npm:13.0.1"
react-scroll: "npm:^1.8.9"
react-toastify: "npm:^9.1.3"
Expand Down Expand Up @@ -16192,7 +16192,7 @@ __metadata:
react-datepicker: "npm:^4.14.1"
react-dom: "npm:18.2.0"
react-error-boundary: "npm:4.0.10"
react-helsinki-headless-cms: "npm:1.0.0-alpha295"
react-helsinki-headless-cms: "npm:1.0.0-alpha296"
react-i18next: "npm:13.0.1"
react-scroll: "npm:^1.8.9"
react-toastify: "npm:^9.1.3"
Expand Down Expand Up @@ -23273,9 +23273,9 @@ __metadata:
languageName: node
linkType: hard

"react-helsinki-headless-cms@npm:1.0.0-alpha295":
version: 1.0.0-alpha295
resolution: "react-helsinki-headless-cms@npm:1.0.0-alpha295"
"react-helsinki-headless-cms@npm:1.0.0-alpha296":
version: 1.0.0-alpha296
resolution: "react-helsinki-headless-cms@npm:1.0.0-alpha296"
dependencies:
hds-design-tokens: "npm:^3.9.0"
html-entities: "npm:^2.4.0"
Expand All @@ -23292,7 +23292,7 @@ __metadata:
peerDependenciesMeta:
"@apollo/client":
optional: true
checksum: 0b50812641394c6abde5ddb6c63e43a270dd4d6279e6393bd5ccaa64341443469f52eeefc19325f74740d9b0b560a060055b5ef5f2cde0b702d58bbf52ccb837
checksum: 2e4656d13eeb3ba445916c0d0a9d63ea9efcc94eb26a43a5855c9cf7c517e15115a0a68436a8f72036a292dec6df2fc484dd4dcf8e34a52e0cdc21c8f08981c5
languageName: node
linkType: hard

Expand Down Expand Up @@ -25352,7 +25352,7 @@ __metadata:
react-datepicker: "npm:^4.14.1"
react-dom: "npm:18.2.0"
react-error-boundary: "npm:4.0.10"
react-helsinki-headless-cms: "npm:1.0.0-alpha295"
react-helsinki-headless-cms: "npm:1.0.0-alpha296"
react-i18next: "npm:13.0.1"
react-leaflet: "npm:4.2.1"
react-scroll: "npm:^1.8.9"
Expand Down

0 comments on commit a286814

Please sign in to comment.