From d350b499f2b385ff9d0965649ced3a81106457a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Delattre?= Date: Sun, 21 May 2017 17:33:05 +0200 Subject: [PATCH] Cleanup the alerts props Only give the props needed --- src/public/js/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/public/js/app.js b/src/public/js/app.js index cea0025..c9e5b37 100644 --- a/src/public/js/app.js +++ b/src/public/js/app.js @@ -55,7 +55,10 @@ function Main(props) { router={props.router} torrentCount={props.torrentStore.torrents.length} /> - +
{React.cloneElement(props.children, props)}