on develop help sign in
Style fixes, remove comment
841de0cTom Smalley
reflex-dom-core/src/Reflex/Dom/Main.hs−8
@@ -147,16 +147,8 @@ runHydrationWidgetWithHeadAndBody switchoverAction app = withJSContextSingletonM
147 liftIO $ modifyIORef' hydrationResult ((n, res) :)
147 liftIO $ modifyIORef' hydrationResult ((n, res) :)
148 pure a
148 pure a
149 flip runPostBuildT postBuild $ flip runTriggerEventT events $ app (hydrateDom $ toNode headElement) (hydrateDom $ toNode bodyElement)
149 flip runPostBuildT postBuild $ flip runTriggerEventT events $ app (hydrateDom $ toNode headElement) (hydrateDom $ toNode bodyElement)
150−-- liftIO (readIORef unreadyChildren) >>= \case
151−-- 0 -> DOM.liftJSM commit
152−-- _ -> return ()
153 return postBuildTriggerRef
150 return postBuildTriggerRef
154
151
155−
156−
157−
158−
159−
160{-# INLINE mainWidget #-}
152{-# INLINE mainWidget #-}
161mainWidget :: (forall x. Widget x ()) -> JSM ()
153mainWidget :: (forall x. Widget x ()) -> JSM ()
162mainWidget = mainWidget'
154mainWidget = mainWidget'