<commit_before>(ns wombats-web-client.components.cards.wombat
  (:require [re-frame.core :as re-frame]
            [wombats-web-client.components.modals.delete-wombat-modal :refer [delete-wombat-modal]]))

(defn open-delete-wombat-modal [id]
  (fn []
    (re-frame/dispatch [:set-modal #(delete-wombat-modal id)])))

(defn root [wombat]
  [:div.wombat-card {:key (:id wombat)}
   [:div "wombat image"]
   [:div (:name wombat)]
   [:div.hover-state-edit
    [:input {:type "button"
             :value "DELETE"
             :on-click (open-delete-wombat-modal (:id wombat))}]]])<commit_msg>apply simple button mixin to delete button on account page<commit_after>(ns wombats-web-client.components.cards.wombat
  (:require [re-frame.core :as re-frame]
            [wombats-web-client.components.modals.delete-wombat-modal :refer [delete-wombat-modal]]))

(defn open-delete-wombat-modal [id]
  (fn []
    (re-frame/dispatch [:set-modal #(delete-wombat-modal id)])))

(defn root [wombat]
  [:div.wombat-card {:key (:id wombat)}
   [:div "wombat image"]
   [:div (:name wombat)]
   [:div.hover-state-edit
    [:input.simple-button {:type "button"
             :value "DELETE"
             :on-click (open-delete-wombat-modal (:id wombat))}]]])
{'fraction_non_alphanumeric': 0.17946645109135004, 'fraction_numerical': 0.0, 'mean_word_length': 3.3286713286713288, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2010895', 'n_tokens_mistral': 475, 'n_tokens_neox': 452, 'n_words': 88}