diff --git a/pkg/interface/src/apps/launch/app.js b/pkg/interface/src/apps/launch/app.js
index f330ab826a..5c5c79d30d 100644
--- a/pkg/interface/src/apps/launch/app.js
+++ b/pkg/interface/src/apps/launch/app.js
@@ -9,7 +9,6 @@ import './css/custom.css';
import Tiles from './components/tiles';
import Welcome from './components/welcome';
-
export default class LaunchApp extends React.Component {
constructor(props) {
super(props);
@@ -48,13 +47,13 @@ export default class LaunchApp extends React.Component {
const { state } = this;
return (
-
+
+ api={this.api}
+ />
);
}
diff --git a/pkg/interface/src/apps/launch/components/tiles.js b/pkg/interface/src/apps/launch/components/tiles.js
index 69bd752494..e8c378c740 100644
--- a/pkg/interface/src/apps/launch/components/tiles.js
+++ b/pkg/interface/src/apps/launch/components/tiles.js
@@ -1,28 +1,27 @@
import React from 'react';
-import classnames from 'classnames';
import BasicTile from './tiles/basic';
import CustomTile from './tiles/custom';
import ClockTile from './tiles/clock';
import WeatherTile from './tiles/weather';
-
export default class Tiles extends React.PureComponent {
render() {
const { props } = this;
- let tiles = props.tileOrdering.filter((key) => {
+ const tiles = props.tileOrdering.filter((key) => {
return props.tiles[key].isShown;
}).map((key) => {
- let tile = props.tiles[key];
+ const tile = props.tiles[key];
if ('basic' in tile.type) {
- let basic = tile.type.basic;
+ const basic = tile.type.basic;
return (
+ linkedUrl={basic.linkedUrl}
+ />
);
} else if ('custom' in tile.type) {
if (key === 'weather') {
@@ -36,10 +35,10 @@ export default class Tiles extends React.PureComponent {
});
return (
-
{tiles}
+
+ {tiles}
+
);
}
}
-
-