     :spelling 1
     :word ""
     :hyphenation ""
-    :official-hyphenation ""}))
+    :suggested-hyphenation ""}))
 
 (def spelling (reagent/cursor app-state [:spelling]))
 (def word (reagent/cursor app-state [:word]))
 (def hyphenation (reagent/cursor app-state [:hyphenation]))
-(def official-hyphenation (reagent/cursor app-state [:official-hyphenation]))
+(def suggested-hyphenation (reagent/cursor app-state [:suggested-hyphenation]))
 
 (defn update-hyphenations! [f & args]
   (apply swap! app-state update-in [:hyphenations] f args))

  (ajax/GET "/api/hyphenate"
            :params {:word word :spelling spelling}
            :handler (fn [hyphenated] (do
                                        (swap! app-state assoc :official-hyphenation hyphenated)
                                        (swap! app-state assoc :hyphenation hyphenated)))
            :error-handler (fn [details]
                             (.warn js/console

                 (reset! hyphenation ""))
    :disabled (when (or (string/blank? @word)
                        (not (hyphenation-valid? @hyphenation))
                        (= @hyphenation @suggested-hyphenation))
                "disabled")}
   "Add"])

