import { Router } from '@angular/router';
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-settings',
  templateUrl: './settings.page.html',
  styleUrls: ['./settings.page.scss'],
})
export class SettingsPage implements OnInit {

  constructor(
    private router:Router
  ) { }

  ngOnInit() {
  }
  onClickLogout(){
    this.router.navigateByUrl('start');
  }
}
