Skip to content

Commit

Permalink
ConsoleJanitor: Brush react-spring deprecation (Vendicated#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadan4 authored Oct 24, 2024
1 parent a6ea03b commit 534ab3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plugins/consoleJanitor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 534ab3e

Please sign in to comment.