Remove unused category ID binding to avoid compiler warnings

This commit is contained in:
Danielle McLean 2017-10-15 01:41:46 +11:00
parent e24e7db641
commit 940b62b6fc
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -45,7 +45,7 @@ getSitemapR = do
yieldMany $ entryToSitemapUrl <$> entries
categoryToSitemapUrl :: Entity Category -> SitemapUrl (Route App)
categoryToSitemapUrl (Entity catId cat) = SitemapUrl
categoryToSitemapUrl (Entity _ cat) = SitemapUrl
{ sitemapLoc = CategoryR $ categoryTag cat
, sitemapLastMod = Nothing
, sitemapChangeFreq = Nothing