Skip to content

Commit

Permalink
fix: put SQL first in the dropdown list
Browse files Browse the repository at this point in the history
  • Loading branch information
refset committed Apr 16, 2024
1 parent b18832f commit 777a69b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xt_fiddle/client.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
:-> :version)

(defn language-dropdown []
[dropdown {:items [{:value :xtql :label "XTQL"}
{:value :sql :label "SQL"}]
[dropdown {:items [{:value :sql :label "SQL"}
{:value :xtql :label "XTQL"}]
:selected @(rf/subscribe [:get-type])
:on-click #(rf/dispatch [:dropdown-selection (:value %)])
:label (case @(rf/subscribe [:get-type])
Expand Down

0 comments on commit 777a69b

Please sign in to comment.