From 1fa9faa3144377253ee4ad8db78c58aed97cedf6 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 22 Aug 2019 20:01:05 +0200 Subject: [PATCH] :lipstick: Cosmetic changes on app component. --- frontend/src/uxbox/main/ui.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/uxbox/main/ui.cljs b/frontend/src/uxbox/main/ui.cljs index b24be3d90..1d2345065 100644 --- a/frontend/src/uxbox/main/ui.cljs +++ b/frontend/src/uxbox/main/ui.cljs @@ -89,9 +89,8 @@ (mf/defc app [props] - (let [route (mf/deref route-iref) - route-id (get-in route [:data :name])] - (case route-id + (let [route (mf/deref route-iref)] + (case (get-in route [:data :name]) :auth/login (mf/element auth/login-page) :auth/register (auth/register-page) :auth/recovery-request (auth/recovery-request-page)