@@ -122,8 +122,8 @@ dyn child = do
122122 (result, postBuild, voidActions) <- runWidget df c
123123 scheduleFollowup newChildBuiltTriggerRef (result, voidActions)
124124 postBuild
125− Just p <- liftIO $ nodeGetParentNode endPlaceholder
126− _ <- liftIO $ nodeInsertBefore p (Just df) (Just endPlaceholder)
125+ mp <- liftIO $ nodeGetParentNode endPlaceholder
126+ forM_ mp $ \p -> liftIO $ nodeInsertBefore p (Just df) (Just endPlaceholder)
127127 return ()
128128 schedulePostBuild $ do
129129 c <- sample $ current child