Skip to content

Commit

Permalink
Correct type signature of breadcrumbLink
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu committed Jan 25, 2022
1 parent b0fadac commit d5c2356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IHP/Breadcrumb/ViewFunctions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ renderBreadcrumb breadcrumbItems = styledBreadcrumb theCSSFramework theCSSFramew
}


breadcrumbLink :: (Show controller, AutoRoute controller) => Html -> controller -> BreadcrumbItem
breadcrumbLink :: (HasPath controller) =>Html -> controller -> BreadcrumbItem
breadcrumbLink label route =
breadcrumbLinkExternal label (pathTo route)

Expand Down

0 comments on commit d5c2356

Please sign in to comment.