client: clean code

This commit is contained in:
fantasticit 2022-05-22 23:53:58 +08:00
parent f1cb1012f2
commit b28b4df011
1 changed files with 2 additions and 5 deletions

View File

@ -10,11 +10,8 @@ import App from 'next/app';
import Head from 'next/head'; import Head from 'next/head';
import React from 'react'; import React from 'react';
class MyApp extends App<{ isMobile: boolean }, unknown> { class MyApp extends App<{ isMobile: boolean }> {
state = { state = {};
locale: '',
user: null,
};
static getInitialProps = async ({ Component, ctx }) => { static getInitialProps = async ({ Component, ctx }) => {
const request = ctx?.req; const request = ctx?.req;