소스 검색

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

Tienson Qin 4 년 전
부모
커밋
e718b481a9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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])