removed all console statements

This commit is contained in:
Abhijit Bhatnagar 2025-08-18 01:22:31 +05:30
parent 310e99b204
commit 76b5131180
5 changed files with 5 additions and 74 deletions

View file

@ -42,18 +42,9 @@ document.addEventListener( 'DOMContentLoaded', function () {
// Posts page
const postsRoot = document.getElementById( 'helix-posts-root' );
// eslint-disable-next-line no-console
console.log( 'Posts root element:', postsRoot );
if ( postsRoot ) {
// eslint-disable-next-line no-console
console.log( 'Creating Posts app root' );
const root = createRoot( postsRoot );
root.render( <PostsApp /> );
// eslint-disable-next-line no-console
console.log( 'Posts app rendered' );
} else {
// eslint-disable-next-line no-console
console.log( 'Posts root element not found' );
}
// Users page