0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

remoev translation function

This commit is contained in:
Akshay Gupta 2024-05-14 18:25:08 +05:30
parent 24f1693684
commit 31b487ed86

View file

@ -18,7 +18,6 @@
[app.main.ui.icons :as i]
[app.main.ui.workspace.tokens.common :refer [hide-token-context-menu]]
[app.util.dom :as dom]
[app.util.i18n :refer [tr]]
[app.util.timers :as timers]
[okulary.core :as l]
[rumext.v2 :as mf]))
@ -118,9 +117,9 @@
do-duplicate #(js/console.log "Duplicating")
do-edit #(js/console.log "Editing")]
[:ul.context-list
[:> token-menu-entry {:title (tr "Delete Token") :on-click do-delete}]
[:> token-menu-entry {:title (tr "Duplicate Token") :on-click do-duplicate}]
[:> token-menu-entry {:title (tr "Edit Token") :on-click do-edit}]]))
[:> token-menu-entry {:title "Delete Token" :on-click do-delete}]
[:> token-menu-entry {:title "Duplicate Token" :on-click do-duplicate}]
[:> token-menu-entry {:title "Edit Token" :on-click do-edit}]]))
(mf/defc token-context-menu
[]