[next] fix tests (getInitialProps should be static)

This commit is contained in:
Resi Respati
2018-05-12 11:51:42 +07:00
parent 92db478980
commit 28b1367d70
+1 -1
View File
@@ -6,7 +6,7 @@ interface NextComponentProps {
}
class ClassNext extends React.Component<NextComponentProps> {
async getInitialProps() {
static async getInitialProps() {
return { example: 'example' };
}