mirror of
https://ghproxy.net/https://github.com/abhijitb/helix.git
synced 2025-08-28 06:26:00 +08:00
removed all console statements
This commit is contained in:
parent
310e99b204
commit
76b5131180
5 changed files with 5 additions and 74 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue