Skip to content

Commit

Permalink
add error states
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Aug 2, 2023
1 parent 55d511a commit 965dbad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/status_im2/contexts/syncing/enter_sync_code/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
[quo2.components.icon :as icon]
[taoensso.timbre :as log]
[utils.debounce :as debounce]
[utils.re-frame :as rf]
[status-im2.contexts.syncing.utils :as sync-utils]))

(defn view
Expand Down Expand Up @@ -70,5 +71,9 @@
[:syncing/input-connection-string-for-bootstrapping
@default-value]
300)
(log/info "now we do some error states mwuahahahaha")))}
(rf/dispatch [:toasts/upsert
{:icon :i/info
:icon-color colors/danger-50
:theme :dark
:text (i18n/label :t/error-this-is-not-a-sync-qr-code)}])))}
(i18n/label :t/confirm)]]))))

0 comments on commit 965dbad

Please sign in to comment.