This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
FoodLoop-Web/src/app/pages/404.component.ts

18 lines
271 B
TypeScript
Raw Normal View History

import { Component } from '@angular/core';
import { Location } from '@angular/common';
@Component({
templateUrl: '404.component.html'
})
export class P404Component {
constructor(
private location: Location
) {
}
goBack(): void {
this.location.back();
}
}