diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-18 01:03:10 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-18 01:03:10 +0100 |
| commit | 7b8e6f9a7d3eb36b72b53d5e754b9c7916b98ed7 (patch) | |
| tree | e0445a2709ecf07e770a9b0ddecb8eeb3d168931 /client/applet.js | |
| parent | d3be915bc5725a36dee867b07404725177783460 (diff) | |
namesearchg
Diffstat (limited to 'client/applet.js')
| -rw-r--r-- | client/applet.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/applet.js b/client/applet.js index 4d2a8e6c..80d40657 100644 --- a/client/applet.js +++ b/client/applet.js @@ -1,13 +1,16 @@ import React, { Component } from 'react' import { Container as FaceSearchContainer } from './faceSearch' +import { Container as NameSearchContainer } from './nameSearch' export default class Applet extends Component { render() { - console.log(this.props) + // console.log(this.props) switch (this.props.payload.cmd) { case 'face_search': return <FaceSearchContainer {...this.props} /> + case 'name_search': + return <NameSearchContainer {...this.props} /> default: return <pre style={{ color: '#0f0' }}>{'Megapixels'}</pre> } |
