fix(core): 🐛 remove leftover console log

This commit is contained in:
alistair3149 2024-04-25 16:19:17 -04:00
parent 56046d7e58
commit c2aa796b68
No known key found for this signature in database

View file

@ -60,7 +60,6 @@ window.clientPrefs = () => {
if ( storage ) {
// TODO: Just use array for localStorage
storage.split( ',' ).forEach( function ( pref ) {
console.log( pref );
className = className.replace(
// eslint-disable-next-line security/detect-non-literal-regexp
new RegExp( '(^| )' + pref.replace( /-clientpref-\w+$|[^\w-]+/g, '' ) + '-clientpref-\\w+( |$)' ),
@ -86,7 +85,6 @@ window.clientPrefs = () => {
className += ` ${ LEGACY_PREFIX }${ matchedKey }`;
}
}
console.log( className );
} );
document.documentElement.className = className;
}