diff --git a/docs/tutorial/static-view.md b/docs/tutorial/static-view.md index b0c63133c5..cabadbd851 100644 --- a/docs/tutorial/static-view.md +++ b/docs/tutorial/static-view.md @@ -21,7 +21,7 @@ Now let's replace the contents of the file with a blank view: import { PageContext, AbstractComponent } from '@ima/react-page-renderer'; import React from 'react'; -export default class HomeView extends AbstractComponent { +export class HomeView extends AbstractComponent { static get contextType() { return PageContext; }