Procházet zdrojové kódy

fix: menu-link need to be a tag otherwise the href doesn't work

Tienson Qin před 4 roky
rodič
revize
e718b481a9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/main/frontend/ui.cljs

+ 1 - 1
src/main/frontend/ui.cljs

@@ -79,7 +79,7 @@
 
 (rum/defc menu-link
   [options child]
-  [:span.block.px-4.py-2.text-sm.transition.ease-in-out.duration-150.cursor.menu-link
+  [:a.block.px-4.py-2.text-sm.transition.ease-in-out.duration-150.cursor.menu-link
    options
    child])