Commit 631d2347 authored by Ben's avatar Ben
Browse files

Added docs and removed an unused import.

parent 258c5f9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
import { Component, EventEmitter, ChangeDetectorRef } from '@angular/core';
import { Component, EventEmitter } from '@angular/core';
import { UserAvatarService } from '../../services/user-avatar.service';
import { UserAvatarService } from '../../services/user-avatar.service';
import { of, Observable } from 'rxjs';
import { of, Observable } from 'rxjs';


+4 −1
Original line number Original line Diff line number Diff line
/**
 * @author Ben Hayward
 * @desc Singleton service used to store the current user avatar as a BehaviorSubject.
 */
import { Injectable } from '@angular/core';
import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import { BehaviorSubject } from 'rxjs';


// Singleton
@Injectable({
@Injectable({
  providedIn: 'root',
  providedIn: 'root',
})
})