diff --git a/packages/kit/src/runtime/client/client.js b/packages/kit/src/runtime/client/client.js index 7d8c8ea940e6..074bf13c5f85 100644 --- a/packages/kit/src/runtime/client/client.js +++ b/packages/kit/src/runtime/client/client.js @@ -1715,18 +1715,18 @@ function reset_focus() { } } -if (__SVELTEKIT_DEV__) { - // Nasty hack to silence harmless warnings the user can do nothing about - const console_warn = console.warn; - console.warn = function warn(...args) { - if ( - args.length === 1 && - /<(Layout|Page)(_[\w$]+)?> was created (with unknown|without expected) prop '(data|form)'/.test( - args[0] - ) - ) { - return; - } - console_warn(...args); - }; -} +// if (__SVELTEKIT_DEV__) { +// // Nasty hack to silence harmless warnings the user can do nothing about +// const console_warn = console.warn; +// console.warn = function warn(...args) { +// if ( +// args.length === 1 && +// /<(Layout|Page)(_[\w$]+)?> was created (with unknown|without expected) prop '(data|form)'/.test( +// args[0] +// ) +// ) { +// return; +// } +// console_warn(...args); +// }; +// }