 (ns re-natal-esp32control-app.android.core
   (:require [clojure.string :as str]
-            [reagent.core :as reagent :refer [atom]]
+            [reagent.core :as r]
             [re-frame.core :refer [subscribe dispatch dispatch-sync]]
             [re-natal-esp32control-app.events]
             [re-natal-esp32control-app.subs]))


(defn ble-control-page []
  (let [current-device (subscribe [:get-current-device])
        connected? (reagent/atom false)]
    (reagent/create-class
     {:reagent-render
      (fn []
        [view

    [text (:name device) " " (:id device)]]])

(defn ble-devices-box []
  (r/create-class
   {:reagent-render (fn []
                      (let [devices (subscribe [:get-devices])]
                        [view
