ConsoleJanitor: Brush react-spring deprecation (#2973)

This commit is contained in:
sadan4 2024-10-24 07:09:12 -04:00 committed by GitHub
parent a6ea03bacc
commit 534ab3eb5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,6 +66,13 @@ export default definePlugin({
},
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"',
replacement: {