Add title to page
This commit is contained in:
parent
57a033ce41
commit
9ecc5bfba8
1 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,19 @@
|
||||||
import "../styles.scss";
|
import "../styles.scss";
|
||||||
|
|
||||||
export { default } from "next/app";
|
import App from "next/app";
|
||||||
|
import Head from "next/head";
|
||||||
|
|
||||||
|
class CustomApp extends App {
|
||||||
|
render() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<Head>
|
||||||
|
<title key="page-title">DRS Chat</title>
|
||||||
|
</Head>
|
||||||
|
{super.render()}
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default CustomApp;
|
||||||
|
|
Reference in a new issue