# Hamburger-categories widget does not mount?

**URL:** https://meta.discourse.org/t/hamburger-categories-widget-does-not-mount/255683
**Category:** Development
**Created:** [February 20, 2023, 1:59pm UTC](https://meta.discourse.org/t/hamburger-categories-widget-does-not-mount/255683 "2023-02-20T13:59:35Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![Andrew\_Dickens](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andrew_dickens/32/290897_2.png) [@Andrew\_Dickens](https://meta.discourse.org/u/Andrew_Dickens)
#### Post date: [February 20, 2023, 4:53pm UTC](https://meta.discourse.org/t/hamburger-categories-widget-does-not-mount/255683/20 "2023-02-20T16:53:29Z")

</div>

Great thanks.. yes that makes sense and is showing now

As we are here talking about logging in the console  
When following the docs [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648#consolelog-is-your-friend-26)  
When i try

```plaintext
<script type="text/discourse-plugin" version="0.8">
    console.log(Discourse)
</script>

```

I’m not sure I get a “global object to the console”, I get a class

And if i try something like

```plaintext
<script type="text/discourse-plugin" version="0.8">
  const settings = Discourse.SiteSettings;
 console.log(settings)
</script>

```

I get this error  
`THEME 6 'BCN Theme - watched locally'] Deprecation notice: use injected siteSettings instead of Discourse.SiteSettings`

---

_[View the full topic](https://meta.discourse.org/t/hamburger-categories-widget-does-not-mount/255683)._
