Skip to content

Commit 96e8356

Browse files
committed
fix: toSpliced polyfill
1 parent fc7aac4 commit 96e8356

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@mui/lab": "^5.0.0-alpha.79",
2323
"@mui/material": "^5.13.3",
2424
"@sentry/nextjs": "^8.41.0",
25+
"core-js": "^3.39.0",
2526
"cypress": "^13.11.0",
2627
"date-fns": "^2.28.0",
2728
"firebase": "^9.22.0",

polyfills.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import "core-js/actual/array/to-spliced";
2+
13
String.prototype.capitalize = function () {
24
if (!this) return '';
35
return this.charAt(0).toUpperCase() + this.slice(1);

0 commit comments

Comments
 (0)