Add title to page
This commit is contained in:
parent
5f69d817bf
commit
0e3197aad3
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