Skip to content

Commit 1958ecd

Browse files
committed
Call shadow-root with the correct args
Fixes #411
1 parent 48a7864 commit 1958ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/day8/re_frame_10x/navigation/views.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
;; When programming here, we need to be careful about which document and window
393393
;; we are operating on, and keep in mind that the window can close without going
394394
;; through standard react lifecycle, so we hook the beforeunload event.
395-
(let [shadow-root (tools.shadow-dom/shadow-root popup-document "--re-frame-10x--" (inline-resource "day8/re_frame_10x/style.css"))
395+
(let [shadow-root (tools.shadow-dom/shadow-root popup-document "--re-frame-10x--")
396396
spade-container (spade.dom/create-container shadow-root)
397397
resize-update-scheduled? (atom false)
398398
handle-window-resize (fn [_]

0 commit comments

Comments
 (0)