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 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;
|
||||||
|
|
Loading…
Reference in New Issue