This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (def state (reagent.core/atom nil)) | |
| (def cur-msg (reagent.core/atom nil)) | |
| ;Prints out parsed messages | |
| (defn fix-output [] | |
| ;state atom is defined elsewhere | |
| (when-let [messages (:messages @state)] | |
| [:table {:class "table table-striped table-bordered"} | |
| [:tr | |
| [:th "Data"]] |