ConsoleJanitor: Brush react-spring deprecation (#2973)
This commit is contained in:
parent
a6ea03bacc
commit
534ab3eb5f
1 changed files with 7 additions and 0 deletions
|
@ -66,6 +66,13 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
|
|
||||||
patches: [
|
patches: [
|
||||||
|
{
|
||||||
|
find: 'react-spring: The "interpolate" function',
|
||||||
|
replacement: {
|
||||||
|
match: /,console.warn\('react-spring: The "interpolate" function is deprecated in v10 \(use "to" instead\)'\)/,
|
||||||
|
replace: ""
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
find: 'console.warn("Window state not initialized"',
|
find: 'console.warn("Window state not initialized"',
|
||||||
replacement: {
|
replacement: {
|
||||||
|
|
Loading…
Reference in a new issue