import Component from '@glimmer/component';
import {action} from '@ember/object';
import {schedule} from '@ember/runloop';
import {inject as service} from '@ember/service';
import {tracked} from '@glimmer/tracking';

export default class GhNavMenuComponent extends Component {
    @service navigation;
    @service settings;
    @service ui;
    @service session;

    @tracked firstRender = true;

    @action
    updateFirstRender() {
        schedule('afterRender', this, () => {
            this.firstRender = false;
        });
    }
}
