From 989520a104415eec9c2c56be6b9124dc9452656c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 11 Nov 2016 18:39:05 -0400 Subject: [PATCH] remove redundant constraint --- Assistant/WebApp/Form.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assistant/WebApp/Form.hs b/Assistant/WebApp/Form.hs index 1eb48b2e0e..c2687c0dab 100644 --- a/Assistant/WebApp/Form.hs +++ b/Assistant/WebApp/Form.hs @@ -57,7 +57,7 @@ withNote field note = field { fieldView = newview } in [whamlet|^{fieldwidget}  ^{note}|] {- Note that the toggle string must be unique on the form. -} -withExpandableNote :: (Monad m, ToWidget (HandlerSite m) w) => Field m v -> (String, w) -> Field m v +withExpandableNote :: (ToWidget (HandlerSite m) w) => Field m v -> (String, w) -> Field m v withExpandableNote field (toggle, note) = withNote field $ [whamlet| #{toggle}