@@ -1760,7 +1760,7 @@ testWidgetDebug' hardFailure withDebugging beforeJS afterSwitchover bodyWidget =
17601760 ((), html) <- liftIO $ renderStatic $ runHydratableT staticApp
17611761 putStrLnDebug "rendered static"
17621762 waitBeforeJS <- liftIO newEmptyMVar -- Empty until JS should be run
1763− onFailure <- if hardFailure then (\tid -> throwTo tid HydrationFailedException) <$> liftIO myThreadId else pure $ pure ()
1763+ onFailure <- if hardFailure then (`throwTo` HydrationFailedException) <$> liftIO myThreadId else pure $ pure ()
17641764 waitUntilSwitchover <- liftIO newEmptyMVar -- Empty until switchover
17651765 let entryPoint = do
17661766 putStrLnDebug "taking waitBeforeJS"