From abbf64f5a5453fcb6bfe9b90df9e8f6fa002b66a Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sun, 5 Mar 2023 14:28:47 +0400 Subject: Fixed warnings --- app/Views.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Views.hs') diff --git a/app/Views.hs b/app/Views.hs index 54cd844..2e0482f 100644 --- a/app/Views.hs +++ b/app/Views.hs @@ -8,10 +8,10 @@ import Web.Request import Web.Response indexGet :: Request -> IO Response -indexGet req = renderTemplate "index.html" +indexGet _ = renderTemplate "index.html" helloGet :: Request -> IO Response -helloGet req = renderTemplate "hello.html" +helloGet _ = renderTemplate "hello.html" renderTemplate :: String -> IO Response renderTemplate name = do -- cgit v1.2.3