0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

misc(frontend): remove stalled files

This commit is contained in:
Andrey Antukh 2019-06-19 16:52:42 +02:00
parent 15b9d8d54f
commit 1df06e210d
3 changed files with 3 additions and 35 deletions

View file

@ -10,7 +10,7 @@
[potok.core :as ptk]
[uxbox.main.store :as st]
[uxbox.main.repo :as rp]
[uxbox.main.state :refer [initial-state]]
[uxbox.main.store :refer [initial-state]]
[uxbox.main.data.projects :as udp]
[uxbox.main.data.users :as udu]
[uxbox.util.messages :as uum]

View file

@ -1,31 +0,0 @@
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.main.state
(:require [uxbox.builtins.colors :as colors]
[uxbox.builtins.library.icons :as icons]
[uxbox.util.storage :refer [storage]]))
(defn initial-state
[]
{:dashboard {:project-order :name
:project-filter ""
:images-order :name
:images-filter ""}
:route nil
:auth (:auth storage nil)
:clipboard #queue []
:undo {}
:profile nil
:workspace nil
:images-collections nil
:images nil
:icons-collections nil
:icons nil
:colors-collections colors/collections
:shapes nil
:projects nil
:pages nil})

View file

@ -9,7 +9,6 @@
[lentes.core :as l]
[potok.core :as ptk]
[uxbox.builtins.colors :as colors]
[uxbox.builtins.library.icons :as icons]
[uxbox.util.storage :refer [storage]]))
(enable-console-print!)
@ -31,7 +30,7 @@
([event & events]
(apply ptk/emit! store (cons event events))))
(defn- initial-state
(defn initial-state
[]
{:dashboard {:project-order :name
:project-filter ""
@ -45,7 +44,7 @@
:workspace nil
:images-collections nil
:images nil
:icons-collections icons/collections
:icons-collections nil
:icons nil
:colors-collections colors/collections
:shapes nil