0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🔥 Remove unused code.

This commit is contained in:
Andrey Antukh 2020-09-14 15:47:41 +02:00 committed by Alonso Torres
parent 65b579c6b6
commit 51541303a6
5 changed files with 0 additions and 17 deletions

View file

@ -18,7 +18,6 @@
[app.main.data.messages :as dm] [app.main.data.messages :as dm]
[app.main.store :as st] [app.main.store :as st]
[app.main.ui.components.forms :refer [input submit-button form]] [app.main.ui.components.forms :refer [input submit-button form]]
[app.main.ui.navigation :as nav]
[app.util.dom :as dom] [app.util.dom :as dom]
[app.util.forms :as fm] [app.util.forms :as fm]
[app.util.i18n :as i18n :refer [t tr]] [app.util.i18n :as i18n :refer [t tr]]

View file

@ -18,7 +18,6 @@
[app.main.store :as st] [app.main.store :as st]
[app.main.ui.components.forms :refer [input submit-button form]] [app.main.ui.components.forms :refer [input submit-button form]]
[app.main.ui.icons :as i] [app.main.ui.icons :as i]
[app.main.ui.navigation :as nav]
[app.util.dom :as dom] [app.util.dom :as dom]
[app.util.forms :as fm] [app.util.forms :as fm]
[app.util.i18n :as i18n :refer [tr t]] [app.util.i18n :as i18n :refer [tr t]]

View file

@ -18,7 +18,6 @@
[app.main.store :as st] [app.main.store :as st]
[app.main.data.auth :as da] [app.main.data.auth :as da]
[app.main.ui.components.forms :refer [input submit-button form]] [app.main.ui.components.forms :refer [input submit-button form]]
[app.main.ui.navigation :as nav]
[app.main.ui.messages :as msgs] [app.main.ui.messages :as msgs]
[app.util.dom :as dom] [app.util.dom :as dom]
[app.util.forms :as fm] [app.util.forms :as fm]

View file

@ -17,7 +17,6 @@
[app.main.store :as st] [app.main.store :as st]
[app.main.ui.components.dropdown :refer [dropdown]] [app.main.ui.components.dropdown :refer [dropdown]]
[app.main.ui.icons :as i] [app.main.ui.icons :as i]
[app.main.ui.navigation :as nav]
[app.util.dom :as dom] [app.util.dom :as dom]
[app.util.i18n :as i18n :refer [t]] [app.util.i18n :as i18n :refer [t]]
[app.util.router :as rt])) [app.util.router :as rt]))

View file

@ -1,13 +0,0 @@
(ns app.main.ui.navigation
;; TODO: deprecated
(:require [rumext.alpha :refer-macros [html]]
[goog.events :as events]
[app.util.dom :as dom]))
(defn link
"Given an href and a component, return a link component that will navigate
to the given URI withour reloading the page."
[href component]
(html
[:a {:href (str "/#" href)} component]))