🐛 Remove incorrect find-component function

This commit is contained in:
Pablo Alba
2024-03-07 13:34:22 +01:00
committed by Andrés Moya
parent 5157928cdb
commit 0d1af260a4
4 changed files with 12 additions and 27 deletions

View File

@@ -186,9 +186,9 @@
;; Expected shape tree:
;;
;; [Page: Page]
;; Root Frame
;; Root Frame
;; Rect 1 #
;; Rect 1
;; Rect 1
;; Rect 1 #
;; Rect 1* @--> Rect 1
;; Rect 1 ---> Rect 1
@@ -362,6 +362,7 @@
component2]
(thl/resolve-component
new-state
(:current-file-id new-state)
new-component-id)]
(t/is (= (:name component2) "Rect 1")))))]
@@ -657,7 +658,7 @@
;;
;; [Board]
;; page1 / Board
;;
;;
(let [instance1 (thp/get-shape new-state :instance1)
[[group shape1 shape2]