Skip to content

Commit 6748493

Browse files
authored
fix: fix popper fn warning (#35)
1 parent be13df1 commit 6748493

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
},
6262
"dependencies": {
6363
"@babel/runtime": "^7.13.16",
64-
"@popperjs/core": "^2.9.2",
64+
"@popperjs/core": "^2.10.1",
6565
"@react-aria/ssr": "^3.0.1",
6666
"@restart/hooks": "^0.4.0",
6767
"@types/warning": "^3.0.0",

src/usePopper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const disabledApplyStylesModifier = {
88
name: 'applyStyles',
99
enabled: false,
1010
phase: 'afterWrite',
11+
fn: () => undefined,
1112
};
1213

1314
// until docjs supports type exports...

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,10 +1567,10 @@
15671567
mkdirp "^1.0.4"
15681568
rimraf "^3.0.2"
15691569

1570-
"@popperjs/core@^2.9.2":
1571-
version "2.9.2"
1572-
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.9.2.tgz#adea7b6953cbb34651766b0548468e743c6a2353"
1573-
integrity sha512-VZMYa7+fXHdwIq1TDhSXoVmSPEGM/aa+6Aiq3nVVJ9bXr24zScr+NlKFKC3iPljA7ho/GAZr+d2jOf5GIRC30Q==
1570+
"@popperjs/core@^2.10.1":
1571+
version "2.10.1"
1572+
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.10.1.tgz#728ecd95ab207aab8a9a4e421f0422db329232be"
1573+
integrity sha512-HnUhk1Sy9IuKrxEMdIRCxpIqPw6BFsbYSEUO9p/hNw5sMld/+3OLMWQP80F8/db9qsv3qUjs7ZR5bS/R+iinXw==
15741574

15751575
"@react-aria/ssr@^3.0.1":
15761576
version "3.0.2"

0 commit comments

Comments
 (0)