mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
✨ Remove "p" in new project and file names
This commit is contained in:
parent
c6c5cc4e14
commit
87fc2db78a
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@
|
|||
(ptk/reify ::create-project
|
||||
ptk/WatchEvent
|
||||
(watch [_ state stream]
|
||||
(let [name (str "New Project " (gensym "p"))
|
||||
(let [name (str "New Project " (gensym ""))
|
||||
team-id (get-in state [:dashboard-local :team-id])]
|
||||
(->> (rp/mutation! :create-project {:name name :team-id team-id})
|
||||
(rx/map project-created))))))
|
||||
|
@ -348,7 +348,7 @@
|
|||
(ptk/reify ::create-file
|
||||
ptk/WatchEvent
|
||||
(watch [_ state stream]
|
||||
(let [name (str "New File " (gensym "p"))
|
||||
(let [name (str "New File " (gensym ""))
|
||||
params {:name name :project-id project-id}]
|
||||
(->> (rp/mutation! :create-file params)
|
||||
(rx/map file-created))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue