   [{:keys [content params] :as message}]
   (letsubs [command [:get-command (:content-command-ref content)]]
     (let [preview (:preview content)
-          {:keys [type color] icon-path :icon} command]
+          {:keys [color] icon-path :icon} command]
       [react/view style/content-command-view
        (when color
          [react/view style/command-container

(ns status-im.chat.views.message.message
  (:require-macros [status-im.utils.views :refer [defview letsubs]])
  (:require [re-frame.core :as re-frame]
            [clojure.walk :as walk]
            [reagent.core :as reagent]
            [status-im.ui.components.react :as react]
            [status-im.ui.components.animation :as animation]

  [wrapper message [text-message message]])

(defmethod message-content constants/content-type-status
  [_ _]
  [message-content-status])

(defmethod message-content constants/content-type-command
