From 76f36c6c5dafe754b066903b1ee8ecdd1b92dcab Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 16 Dec 2018 20:01:23 +0100 Subject: faceSearch client --- client/applet.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'client/applet.js') diff --git a/client/applet.js b/client/applet.js index f218a7f2..4d2a8e6c 100644 --- a/client/applet.js +++ b/client/applet.js @@ -1,13 +1,15 @@ import React, { Component } from 'react' -// import { Header, Sidebar, Footer } from './common' +import { Container as FaceSearchContainer } from './faceSearch' export default class Applet extends Component { render() { - return ( -
-
{'Megapixels'}
-
- ) + console.log(this.props) + switch (this.props.payload.cmd) { + case 'face_search': + return + default: + return
{'Megapixels'}
+ } } } -- cgit v1.2.3-70-g09d2