[#3856] Keep url in browser if no change

This commit is contained in:
kwingram25 2018-04-15 17:24:21 -07:00 committed by Roman Volosovskyi
parent e3cedbc172
commit dd65c44389
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
(reader/read-string (slurp "./src/status_im/utils/browser_config.edn")))
(defn toolbar-content [{:keys [url] :as browser}]
(let [url-text (atom nil)]
(let [url-text (atom url)]
[react/view
[react/view (styles/toolbar-content false)
[react/text-input {:on-change-text #(reset! url-text %)