mirror of
https://github.com/penpot/penpot.git
synced 2025-05-08 22:25:53 +02:00
💄 Minor cosmetic changes on project and file naming.
This commit is contained in:
parent
43d60e238a
commit
b441ffc20f
1 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@
|
|||
(ptk/reify ::create-project
|
||||
ptk/WatchEvent
|
||||
(watch [this state stream]
|
||||
(let [name (str "Project Name " (gensym "p"))]
|
||||
(let [name (str "New Project " (gensym "p"))]
|
||||
(->> (rp/mutation! :create-project {:name name})
|
||||
(rx/map (fn [data]
|
||||
(projects-fetched [data]))))))))
|
||||
|
@ -199,7 +199,7 @@
|
|||
(ptk/reify ::create-file
|
||||
ptk/WatchEvent
|
||||
(watch [this state stream]
|
||||
(let [name (str "File Name " (gensym "p"))
|
||||
(let [name (str "New File " (gensym "p"))
|
||||
params {:name name :project-id project-id}]
|
||||
(->> (rp/mutation! :create-project-file params)
|
||||
(rx/mapcat
|
||||
|
|
Loading…
Add table
Reference in a new issue