mirror of https://github.com/fantasticit/think.git
client: clean code
This commit is contained in:
parent
f1cb1012f2
commit
b28b4df011
|
@ -10,11 +10,8 @@ import App from 'next/app';
|
|||
import Head from 'next/head';
|
||||
import React from 'react';
|
||||
|
||||
class MyApp extends App<{ isMobile: boolean }, unknown> {
|
||||
state = {
|
||||
locale: '',
|
||||
user: null,
|
||||
};
|
||||
class MyApp extends App<{ isMobile: boolean }> {
|
||||
state = {};
|
||||
|
||||
static getInitialProps = async ({ Component, ctx }) => {
|
||||
const request = ctx?.req;
|
||||
|
|
Loading…
Reference in New Issue