Skip to content

Commit

Permalink
fix tutorial: default export to named export
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayus7 committed Apr 5, 2024
1 parent c72ecac commit b399377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/static-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b399377

Please sign in to comment.