Skip to content

Commit

Permalink
Fix example exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Xintong Xia committed Oct 30, 2019
1 parent b37f41b commit 17908a4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/website/3d-tiles/app.js
Expand Up @@ -25,7 +25,7 @@ const INITIAL_VIEW_STATE = {
zoom: 17
};

export class App extends PureComponent {
export default class App extends PureComponent {
constructor(props) {
super(props);

Expand Down
2 changes: 1 addition & 1 deletion examples/website/data-filter/app.js
Expand Up @@ -26,7 +26,7 @@ const MS_PER_DAY = 8.64e7; // milliseconds in a day

const dataFilter = new DataFilterExtension({filterSize: 1});

export class App extends Component {
export default class App extends Component {
constructor(props) {
super(props);

Expand Down
2 changes: 1 addition & 1 deletion examples/website/heatmap/app.js
Expand Up @@ -18,7 +18,7 @@ const INITIAL_VIEW_STATE = {
bearing: 0
};

export class App extends PureComponent {
export default class App extends PureComponent {
_renderLayers() {
const {data = DATA_URL, intensity = 1, threshold = 0.03, radiusPixels = 30} = this.props;

Expand Down
2 changes: 1 addition & 1 deletion examples/website/tagmap/app.js
Expand Up @@ -25,7 +25,7 @@ const INITIAL_VIEW_STATE = {
bearing: 0
};

export class App extends Component {
export default class App extends Component {
_renderLayers() {
const {data = DATA_URL, cluster = true, fontSize = 32} = this.props;

Expand Down
2 changes: 1 addition & 1 deletion examples/website/text-layer/app.js
Expand Up @@ -28,7 +28,7 @@ const INITIAL_VIEW_STATE = {
bearing: 0
};

export class App extends Component {
export default class App extends Component {
constructor(props) {
super(props);

Expand Down

0 comments on commit 17908a4

Please sign in to comment.